panX

The number of pixels by which to pan a Map Chart in the horizontal direction. Positive values shift the map left, while negative values shift the map right.

Setting the panX value causes the map’s default UI pan controls to be hidden.

Type

Integer

Example

Chart1.panX = -25;

panX

Either syntax below can be used in component script:

panX          // unqualified
Chart1.panX   // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.