|
MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
|
#include <map.h>
Data Fields | |
| mln_animation_option_fields | fields |
| double | duration_ms |
| double | velocity |
| double | min_zoom |
| mln_unit_bezier | easing |
| uint64_t | transition_id |
| mln_camera_transition_handler | end_handler |
How a camera change animates.
| double mln_animation_options::duration_ms |
| mln_unit_bezier mln_animation_options::easing |
| mln_camera_transition_handler mln_animation_options::end_handler |
| mln_animation_option_fields mln_animation_options::fields |
| double mln_animation_options::min_zoom |
The zoom level at the peak of a fly animation.
| uint64_t mln_animation_options::transition_id |
An ID that mln_map_cancel_camera_transitions_with_id() cancels the change by. Several changes can share one.
| double mln_animation_options::velocity |
The average speed of a fly animation, in screens per second. duration_ms overrides it.