Struct
MaplibreNativeFfiMapSnapshot
Description [src]
struct MaplibreNativeFfiMapSnapshot {
MaplibreNativeFfiMapDebugFlag debug_flags;
guint64 generation;
gboolean fully_loaded;
gboolean rendering_stats_view_enabled;
gboolean gesture_in_progress;
gboolean transition_in_progress;
MaplibreNativeFfiRuntimeEventFlag event_mask;
guint64 latest_render_update_generation;
MaplibreNativeFfiMapTileSettings tile;
MaplibreNativeFfiCameraBounds bounds;
MaplibreNativeFfiFreeCamera free_camera;
MaplibreNativeFfiMapView view;
}
A map’s state, as maplibre_native_ffi_map_get_snapshot() reads it.
See mln_map_snapshot in the
C API reference.
Structure members
debug_flags:MaplibreNativeFfiMapDebugFlagDebug_flags.
generation:guint64Grows with each change to the map’s state.
fully_loaded:gbooleanWhether the style and every resource that the view needs have loaded.
rendering_stats_view_enabled:gbooleanRendering_stats_view_enabled.
gesture_in_progress:gbooleanGesture_in_progress.
transition_in_progress:gbooleanTransition_in_progress.
event_mask:MaplibreNativeFfiRuntimeEventFlagEvent_mask.
latest_render_update_generation:guint64Counts the render updates that the map has made for its render session.
tile:MaplibreNativeFfiMapTileSettingsTile.
bounds:MaplibreNativeFfiCameraBoundsBounds.
free_camera:MaplibreNativeFfiFreeCameraFree_camera.
view:MaplibreNativeFfiMapViewView.