MapContentMilestone
Namespace: PP
Inheritance hierarchy
Object
MapObject
MapContentMilestone
Description
The MapContentMilestone class implements a milestone for which the user can assign some content.
Syntax
PP.initClass(PP.MapContentMilestone, PP.MapObject, "MapContentMilestone", PP.IMapMilestone);
Constructor
|
Constructor name |
Brief description |
|
MapContentMilestone |
The MapContentMilestone constructor creates an instance of the MapContentMilestone class. |
Properties
|
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. |
Methods
|
Method name |
Brief description |
|
clear |
The clear method clears events of DOM element that corresponds to map layer milestone. |
|
draw3d |
The draw3d method renders a milestone of 3D map layer region. |
|
getMilestonePosition |
The getMilestonePosition method determines milestone position in map topobase coordinates. |
|
getMilestonePosition3d |
The getMilestonePosition3d method determines milestone position in 3D map topobase coordinates. |
|
getScreen2DCoord |
The getScreen2DCoord method returns screen coordinates of a point by its coordinates relative to 2D map topobase. |
|
move |
The move method moves map layer milestone to the specified position. |
|
startAnimation |
The startAnimation method starts animation of map layer milestone. |
|
stopAnimation |
The stopAnimation method stops animation of map layer milestone. |
Events
|
Event name |
Brief description |
|
AnimationCompleted |
The AnimationCompleted event occurs after animation is completed. |
|
AnimationCycleCompleted |
The AnimationCycleCompleted event occurs after direct animation cycle is completed. |
|
AnimationStarted |
The AnimationStarted event occurs on animation start. |
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 |
|
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. |
Properties inherited from the class Object
|
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. |
Methods inherited from the class Object
|
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