getContentMilestoneLayer();
The getContentMilestoneLayer method returns contents of the milestones layer for the map.
The method returns an HTMLElement object.
To execute the example the HTML page must contain the MapChart component named map (see Example of Creating the MapChart Component). Set light-blue fill for the contents of map milestones layer:
// Get contents of map milestone layer var milestoneContentLayer = map.getContentMilestoneLayer(); // Set blue fill for contents of map milestones layer milestoneContentLayer.style.backgroundColor = PP.Color.Colors.lightblue;
After executing the example light-blue fill is set for the contents of map milestones layer:
See also: