MapGrid

Namespace: PP

Inheritance hierarchy

Object

MapObject

MapGrid

Description

The MapGrid class implements map grid.

Syntax

PP.initClass(PP.MapGrid, PP.MapObject, "PP.MapGrid");

Constructor

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

Properties

  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.

Methods

  Method name Brief description
getIsDrawed The getIsDrawed method determines whether a grid is rendered on a map.

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
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:

PP