Type Alias CameraOptions
Type Declaration
Optionalelevation?: numberThe elevation of the center point in meters above sea level.
Optionalpitch?: numberThe desired pitch in degrees. The pitch is the angle towards the horizon measured in degrees with a range between 0 and 60 degrees. For example, pitch: 0 provides the appearance of looking straight down at the map, while pitch: 60 tilts the user's perspective towards the horizon. Increasing the pitch value is often used to display 3D objects.
Optionalroll?: numberThe desired roll in degrees. The roll is the angle about the camera boresight.
Was this helpful?
Options common to Map.jumpTo, Map.easeTo, and Map.flyTo, controlling the desired location, zoom, bearing, pitch, and roll of the camera. All properties are optional, and when a property is omitted, the current camera value for that property will remain unchanged.