Skip to main content

Camera

Snapshot of the map camera state.

Properties

  • center - The center of this camera.
  • max_zoom - The maximum allowed zoom level.
  • min_zoom - The minimum allowed zoom level.
  • rotation - The rotation (in degrees) of the camera.
  • zoom - Defines how far this camera is zoomed.

Properties​

centerinstance-attribute​

The center of this camera.

max_zoominstance-attribute​

max_zoom: Number

The maximum allowed zoom level.

min_zoominstance-attribute​

min_zoom: Number

The minimum allowed zoom level.

rotationinstance-attribute​

rotation: Number

The rotation (in degrees) of the camera.

zoominstance-attribute​

zoom: Number

Defines how far this camera is zoomed.