|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <map.h>
Data Fields | |
| uint32_t | size |
| mln_camera_option_fields | fields |
| mln_lat_lng | center |
| double | center_altitude |
| mln_edge_insets | padding |
| mln_screen_point | anchor |
| double | zoom |
| double | bearing |
| double | pitch |
| double | roll |
| double | field_of_view |
A camera, with only the members that fields selects.
| mln_screen_point mln_camera_options::anchor |
The screen point that a change to the zoom, bearing, or pitch keeps in place. A center overrides it.
| double mln_camera_options::bearing |
The rotation from north, in degrees.
| mln_lat_lng mln_camera_options::center |
| double mln_camera_options::center_altitude |
The altitude of the center, in meters above sea level.
| double mln_camera_options::field_of_view |
The vertical field of view, in degrees.
| mln_camera_option_fields mln_camera_options::fields |
| mln_edge_insets mln_camera_options::padding |
Insets from the map's edges. The camera centers within the rest.
| double mln_camera_options::pitch |
The tilt toward the horizon, in degrees. 0 looks straight down.
| double mln_camera_options::roll |
The roll, in degrees.
| uint32_t mln_camera_options::size |
| double mln_camera_options::zoom |