Skip to Content
APIMapInterface: MapCamera

Interface: MapCamera

Model of configuration parameters for the change in map camera. Defines the target camera position and orientation for map transitions.

Example

Properties

bearing?

The desired bearing in degrees. The bearing is the compass direction that is “up”. 0 degrees points north, 90 degrees points east, 180 degrees points south, 270 degrees points west.

Example


center?

The desired center coordinates for the map view.

See

LatLng for coordinate structure

Example


pitch?

The desired pitch in degrees. The pitch is the angle of tilt from the plane of the map. Possible values range from 0 to 85 degrees. 0 degrees is flat (2D view), higher values create a 3D perspective.

Example


zoom?

The desired zoom level for the map view. Higher values indicate more zoomed in view.

Example

Last updated on