Camera
Represents the map's camera
Props
Name
Type
Description
rotateGlobe
object | boolean
rotate map when in globe view
rotateViewport
object | boolean
rotate map around center
reverse
boolean
reverses the rotation direction
resetWhenStopped
boolean
returns to origin when rotation stopped
translate
object
translate viewport in 3D space
*required ^default
Example
Last updated