The MapLayer class is used to work with a map layer.
MapLayer
A map layer consists of areas and can contain child layers.
bounds. A rectangular area that limits the layer.
label. Layer label.
parentLayer. The layer that is the parent of the current layer.
shapes. Array of areas that forms the current layer.
strokeColor. Color of layer area border.
strokeThickness. Thickness of layer area border.
subLayers. Array of child layers.
tooltip. Layer tooltip.
visuals. Array of visual elements corresponding to the child layers and areas that form the current layer.
chart. Map containing the current object.
ID. Object identifier.
topobase. Used topobase.
visibility. Indicates whether the object is visible.
allShapes. Returns all the layer areas (including areas that form the child layers).
setIndexForVisuals:. Sets time axis index for all visual elements.
shapesInRect:. Returns all the areas for all the layers within the specified rectangular area.
shapeWithId:. Returns the area with the specified identifier.
See also: