Assure the map is ready before making changes to the camera. Learn more.
Available Cameras
The SDK comes with a pre-defined set of cameras for common camera management scenarios. To set a camera, you can use:MapManagerCameraTrackingMode enum for all available values. The none value is automatically set when the user manually moves the map.
Manual Update
Use theMapManager.applyCamera() method to manually specify the camera’s parameters, such as its location, zoom, tilt, etc.
Example:
Relative Update
Use theMapManager.applyCameraBy() method to update the camera relative to its current state. This is helpful if you don’t need to update the camera’s location, but only its zoom or tilt.
Example, to zoom out the camera two levels: