zoomLevel

Sets the zoom level for a Map Chart with a Google Map background. (The integer value is equivalent to the number of times the ‘Zoom In’ button zoom in is pressed on the map.)

This property does not apply to maps that use the default background or Mapbox background. Use the zoom property instead.

Type

Non-negative integer. Zoom levels up to 18 may be supported, but the available level of detail depends on the geographical region. See Google Maps Platform Documentation for more details about zoom levels.

Example

Chart1.zoomLevel = 5;

zoomLevel

Either syntax below can be used in component script:

zoomLevel          // unqualified
Chart1.zoomLevel   // qualified

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