zoomTo abstract method

void zoomTo(
  1. double zoomLevel
)

Zooms to the specified zoom level.

The supplied value will be clamped to the range of [0, 22], where 0 is a view of whole globe and 22 is street level.

This effectively changes the distance from the camera to the target. The zooming occurs around the current target point.

  • zoomLevel The zoom level to set, clamped to the range of [0, 22].

Implementation

void zoomTo(double zoomLevel);