MapGrid Item

The MapGrid item contains map grid settings.

Map grid is implemented with the PP.MapGrid class.

Example of Map Grid Setup

Attributes of the MapGrid item

Attribute name Type Description
Color String Color of map grid lines.
HorizontalLinesCount Number Number of horizontal grid lines.
This attribute is relevant if the HorizontalLinesStepType attribute is set to StepsCount.
HorizontalLinesStep Number Distance in pixels between horizontal lines of map grid.
This attribute is relevant if the HorizontalLinesStepType attribute is set to Pixels or Relative.
HorizontalLinesStepType String Mode of plotting horizontal grid lines.
Available values:
  • Pixels - distance between grid lines is set in pixels

  • Relative - distance between horizontal grid lines is set relative to the grid width

  • StepsCount - the grid is plotted with the specified number of horizontal lines.

VerticalLinesCount Number Number of vertical grid lines.
This attribute is relevant if the VerticalLinesStepType attribute is set to StepsCount.
VerticalLinesStep Number Distance in pixels between vertical lines of map grid.
This attribute is relevant if the VerticalLinesStepType attribute is set to Pixels or Relative.
VerticalLinesStepType String Mode of plotting vertical grid lines.
Available values:
  • Pixels - distance between grid lines is set in pixels

  • Relative - distance between vertical grid lines is defined relative to grid height

  • StepsCount - the grid is plotted with the specified number of vertical lines.

See also:

MapChart Item