Namespace: PP
MapGrid
The MapGrid class implements map grid.
PP.initClass(PP.MapGrid, PP.MapObject, "PP.MapGrid");
| Constructor name | Brief description | |
| MapGrid | The MapGrid constructor creates an instance of the MapGrid class. |
| Property name | Brief description | |
| Color | The Color property determines map gridline color. | |
| HorizontalLinesCount | The HorizontalLinesCount property determines the number of horizontal gridlines. | |
| HorizontalLinesStep | The HorizontalLinesStep property determines distance in pixels between horizontal lines of a map grid. | |
| HorizontalLinesStepType | The HorizontalLinesStepType property determines mode of horizontal gridlines plotting. | |
| VerticalLinesCount | The VerticalLinesCount property determines number of vertical gridlines. | |
| VerticalLinesStep | The VerticalLinesStep property determines distance in pixels between vertical lines of a map grid. | |
| VerticalLinesStepType | The VerticalLinesStepType property determines mode of plotting vertical gridlines. |
| Method name | Brief description | |
| getIsDrawed | The getIsDrawed method determines whether a grid is rendered on a map. |
| 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 | |
![]() |
The Id property determines a repository object identifier. |
| 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. |
![]() |
getId | The getId method returns repository object identifier. |
![]() |
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. |
![]() |
setId | The setId method determines a repository object identifier. |
![]() |
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: