MapLayer.Shapes

Syntax

Shapes: Object;

Description

The Shapes property determines map layer areas.

Comments

Use JSON or the setShapes method to set the property value and the getShapes method to get the property value.

The property contains JSON object whose fields have names matching to IDs of map layer areas, and values that contain objects of PP.MapShape type.

Example

The example of use is given on the page with description of the MapLayer.addSubLayer method.

See also:

MapLayer