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

double duration_ms
 
double velocity
 
double min_zoom
 

Detailed Description

Optional animation controls for camera transitions.

Field Documentation

◆ duration_ms

double mln_animation_options::duration_ms

Duration in milliseconds. Must be finite and non-negative. Values that would overflow MapLibre Native's internal duration are invalid.

◆ min_zoom

double mln_animation_options::min_zoom

Peak zoom for flyTo transitions.

◆ velocity

double mln_animation_options::velocity

Average flyTo velocity in screenfuls per second. Must be positive.


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