MapChart.getContentMilestoneLayer

Syntax

getContentMilestoneLayer();

Description

The getContentMilestoneLayer method returns contents of the milestones layer for the map.

Comments

The method returns an HTMLElement object.

Example

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:

MapChart