DynamicLayersGroup
This class provides methods for creating a group of additional layers in which geometric forms such as points, lines, polylines, polygons...etc can be added and removed dynamically.
Note about the class identifier (classID) :
Cartographic identifiers are already defined and can be used when creating new layers to the map. (See CartoConst for the full list of existing Cartographic class IDs). You can use those existing class IDs when creating new layers. The layers will be rendered according to the style defined for this class ID. You can also use your own class ID. Its value must be different that those defined in CartoConst.
The z-index of the layers is defined by their class ID : a higher class ID means a higher z-index. For example, a layer with a classID of 10003L will be rendered of top of all layers with a classID < 10003L Custom class IDs must be between 12000 and 12999.
Properties
Functions
Adds a simple polyline into the specified class and returns the corresponding Polyline2D form.
Adds a simple 2D-rectangle into the specified class and returns the corresponding Rectangle2D form.
Update all objects of the specified type in the specified classID. Use this method if you update an object (i.e. a POI) attributes to change it's style to immediately update it on the map.