|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <map.h>
Data Fields | |
| mln_lat_lng | center |
| double | center_altitude |
| mln_edge_insets | padding |
| double | zoom |
| double | bearing |
| double | pitch |
| double | roll |
| double | field_of_view |
A map's whole camera.
| double mln_camera::bearing |
The rotation from north, in degrees.
| mln_lat_lng mln_camera::center |
| double mln_camera::center_altitude |
The altitude of the center, in meters above sea level.
| double mln_camera::field_of_view |
The vertical field of view, in degrees.
| mln_edge_insets mln_camera::padding |
Insets from the map's edges. The camera centers within the rest.
| double mln_camera::pitch |
The tilt toward the horizon, in degrees. 0 looks straight down.
| double mln_camera::roll |
The roll, in degrees.
| double mln_camera::zoom |