MapLibre Native C API
Public C ABI for the MapLibre Native wrapper.
Loading...
Searching...
No Matches
mln_animation_options Struct Reference

#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

Detailed Description

How a camera change animates.

Field Documentation

◆ duration_ms

double mln_animation_options::duration_ms

◆ easing

mln_unit_bezier mln_animation_options::easing

◆ end_handler

mln_camera_transition_handler mln_animation_options::end_handler

◆ fields

mln_animation_option_fields mln_animation_options::fields

◆ min_zoom

double mln_animation_options::min_zoom

The zoom level at the peak of a fly animation.

◆ transition_id

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.

◆ velocity

double mln_animation_options::velocity

The average speed of a fly animation, in screens per second. duration_ms overrides it.


The documentation for this struct was generated from the following file: