Maps SDK for Web

ICameraOptions

Options common to Map jumpTo(), easeTo(), and flyTo() methods, controlling the desired location, zoom, bearing, and pitch of the camera. All properties are optional, and when a property is omitted the current camera value for that property will remain unchanged.

Properties

around: Maps.LngLat

If zoom is specified, around determines the point around which the zoom is centered.

bearing: Number

The desired bearing, in degrees. The bearing is the compass direction that is "up", for example, a bearing of 90° orients the map so that East is up.

pitch: Number

The desired pitch, in degrees.

zoom: Number

The desired zoom level.