Working with Map > Classes > MapDefaultSettingsProvider > MapDefaultSettingsProvider.getArrowDefaultTooltipMaskText
getArrowDefaultTooltipMaskText();
The getArrowDefaultTooltipMaskText method contains format of labels of arrows on a map.
The method is intended for internal use on building a map with arrows. To display arrows, the express report data source must contain a cube with territory dimensions.
Executing the example requires that the HTML page contains the MapChart component with the map identifier (see Example of Creating the MapChart Component).
// Get map basic settings defaultSettings = map.getSettingsProvider(); // Get map arrow label format console.log("Map arrow label format: " + defaultSettings.getArrowDefaultTooltipMaskText());
After executing the example the browser console displays map arrow label format:
Map arrow label format: {%StartShape} > {%EndShape}, {%TimelineStep}
Color, Width: {%ColorValue} - {%ColorTitle}
See also: