Glossary

camera

The camera is the map's field of view in maps that use Mapbox GL. The camera's viewport is determined by several factors:

  • Center: The coordinates that define the center of the map.
  • Zoom level: A number that determines how close the viewport is to the surface of the map. A zoom level of 0 would display the entire world. The higher a zoom level is, the closer the viewport is to the map's surface.
  • Pitch: The angle towards the horizon measured in degrees, with a range between 0 and 60 degrees. Zero degrees results in a two-dimensional map, as if your line of sight forms a perpendicular angle with the earth's surface.
  • Bearing: The destination's angle of rotation, measured in degrees counter-clockwise from north, with a range between 0 and 360 degrees.

Related resources:

Was this page helpful?