MapLayer.rebuildToolTips

Syntax

rebuildToolTips();

Description

The rebuildToolTip method rerenders tooltips for regions of the current map layer and child layers.

Example

Execute the example given in the MapShape.rebuildToolTip page, but before that replace the script lines

shape.rebuildToolTip();

and

shape.updateTooltipPosition();

with the following code snippets respectively:

map.getLayer("Regions").rebuildToolTips();

and

map.getLayer("Regions").updateTooltipPositions();

The result of example execution is the same.

See also:

MapLayer