Animates the camera to a specified target.
The target configuration for the camera.
Optional
options: TCameraAnimationOptionsOptional settings for the camera animation.
map.Camera.animate({ center: coordinate, zoomLevel: 10 }, { duration: 500 });
The current bearing of the camera in degrees.
The current center Coordinate of the camera.
Focuses the camera on a specific target or array of targets.
The target(s) to focus on, either a single element or an array of elements.
Optional
options: TFocusOnOptionsOptional settings for focusing the camera.
// Focus on a single space
map.Camera.focusOn(space, { minZoomLevel: 5, duration: 1000 });
The maximum zoom level of the camera in mercator zoom levels.
The minimum zoom level of the camera in mercator zoom levels.
The current pitch of the camera in degrees.
Sets the camera to a specified target without animation.
The target configuration for the camera.
map.Camera.set({ center: coordinate, zoomLevel: 10 });
The current zoom level of the camera in mercator zoom levels.
Interface for controlling the camera on the map.