MapPolygonMilestone

Namespace: PP;

Inheritance hierarchy

Object

MapObject

MapContentMilestone

MapPolygonMilestone

Description

The MapPolygonMilestone class implements a polygon-shaped milestone.

Syntax

PP.initClass(PP.MapPolygonMilestone, PP.MapContentMilestone, "MapPolygonMilestone");

Constructor

  Constructor name Brief description
MapPolygonMilestone The MapPolygonMilestone constructor creates an instance of the MapPolygonMilestone class.

Properties

  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.

Properties inherited from the MapContentMilestone class

  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.

Properties inherited from the MapObject class

  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.

Methods inherited from the MapObject class

  Property name Brief description
sub_image.gif draw The draw method renders an object on a map.
sub_image.gif getIsSettingsCreated The getIsSettingsCreated method returns whether a map object is created based on user settings.
sub_image.gif hide The hide method hides an object on a map.
sub_image.gif scale The scale method scales an object on a map.
sub_image.gif show The show method shows an object on a map.

Properties inherited from the class Object

  Property name Brief description

Id

The Id property determines a repository object identifier.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates an object copy.
dispose The dispose method deletes the component.
getHashCode The getHashCode method returns hash code of repository object.
getSettings The getSettings method returns repository object settings.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.
isEqual The isEqual method determines whether the specified object is equal to the current repository object.
isLive The isLive method determines validity of repository object.
removeAllEvents The removeAllEvents method removes all object event handlers by the specified context.
setSettings The setSettings method determines repository object settings.
defineProps The defineProps method creates get and set methods from name array for the specified class.
keys The keys method returns array of methods and properties names for the specified object.

See also:

Classes Used to Work with DHTML Map