PP.BorderEffect (settings)
settings. The JSON object with the values of the class instance.
The BorderEffect constructor creates an instance of the BorderEffect class.
To execute the example the HTML page must contain the MapChart component named map (see Placing of Map on a HTML Page). To create this map, use the World.svg topobase and the MapData_World.xml file that contains JSON map settings. Add a handler for the MapChart.Loaded event - function of application highlighting effect for separate map area border:
map.Loaded.add(function () { map.getShape("AU").setEffect(new PP.BorderEffect({ BorderColor: "#9932CC", BorderThickness: 3 })) });
After executing the example on mouse over the map region with the ID AU (Australia), the border is highlighted as follows:
See also: