Namespace: PP;
MapPolygonMilestone
The MapPolygonMilestone class implements a polygon-shaped milestone.
PP.initClass(PP.MapPolygonMilestone, PP.MapContentMilestone, "MapPolygonMilestone");
| Constructor name | Brief description | |
| MapPolygonMilestone | The MapPolygonMilestone constructor creates an instance of the MapPolygonMilestone class. |
| Property name | Brief description | |
| Fill | The Fill property sets polygon fill color. | |
| Points | The Points property sets a collection of points based on which a polygon is drawn. |
| Property name | Brief description | |
| Interval | The Interval property determines an interval for a map milestone. | |
| OffsetType | The OffsetType property determines a type of map milestone offset. | |
| Shape | The Shape property sets the map region where the milestone is to be positioned. |
NOTE. The Content property is read-only.
| Property name | Brief description | |
| Chart | The Chart property specifies the map, to which an object belongs. | |
| DomNode | The DomNode property determines a DOM node that corresponds to a map object. | |
| IsVisible | The IsVisible property determines whether an object is displayed on a map. | |
| PluginData | The PluginData property determines data of map external component. |
| Property name | Brief description | |
| draw | The draw method renders an object on a map. | |
| getIsSettingsCreated | The getIsSettingsCreated method returns whether a map object is created based on user settings. | |
| hide | The hide method hides an object on a map. | |
| scale | The scale method scales an object on a map. | |
| show | The show method shows an object on a map. |
| Property name | Brief description | |
| Data | The Data property associates a random object with this component. | |
| Id | The Id property sets component identifier. | |
| Settings | The Settings property sets the component parameters. |
| Method name | Brief description | |
| clone | The clone method creates a copy of object. It is not implemented in PP.Ui.Control. | |
| dispose | The dispose method deletes the component. | |
| getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. |
See also:
Classes Used to Work with DHTML Map