InactiveItemsOpacity: Number;
The InactiveItemsOpacity property sets opacity for inactive regions of map layer.
Use JSON or the setInactiveItemsOpacity method to set the property value. Its value changes between 0 (fully transparent area) to 1 (fully opaque area).
To execute the example the HTML page must contain the MapChart component named map (see Example of Creating the MapChart Component). Reduce transparence of inactive areas:
// Set transparence coefficient of inactive areas map.setInactiveItemsOpacity(0.2); // Render the map with data for initial year map.draw(0);
As a result of executing the example, on mouse selection of the map layer area the transparence of the rest (inactive) areas will be 20%:
See also: