|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <map.h>
Data Fields | |
| uint32_t | size |
| mln_camera_delta_fields | fields |
| mln_screen_point | offset |
| double | scale |
| double | bearing |
| double | pitch |
| mln_screen_point | anchor |
| mln_gesture_momentum | momentum |
| mln_animation_options | animation |
| mln_gesture_phase | gesture_phase |
| uint32_t | reserved |
A change to the camera from where it is now, for gestures.
| mln_screen_point mln_camera_delta::anchor |
| mln_animation_options mln_camera_delta::animation |
| double mln_camera_delta::bearing |
Degrees to add to the bearing.
| mln_camera_delta_fields mln_camera_delta::fields |
| mln_gesture_phase mln_camera_delta::gesture_phase |
| mln_gesture_momentum mln_camera_delta::momentum |
How the gesture keeps moving after this delta. Only a delta in the MLN_GESTURE_PHASE_END phase carries it.
| mln_screen_point mln_camera_delta::offset |
Moves the map's content this far on the screen, as a drag does.
| double mln_camera_delta::pitch |
Degrees to add to the pitch.
| uint32_t mln_camera_delta::reserved |
| double mln_camera_delta::scale |
Multiplies the map's scale. 2 zooms in by one level.
| uint32_t mln_camera_delta::size |