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: MaplibreNativeFfiMapDebugFlag

Debug_flags.

generation: guint64

Grows with each change to the map’s state.

fully_loaded: gboolean

Whether the style and every resource that the view needs have loaded.

rendering_stats_view_enabled: gboolean

Rendering_stats_view_enabled.

gesture_in_progress: gboolean

Gesture_in_progress.

transition_in_progress: gboolean

Transition_in_progress.

event_mask: MaplibreNativeFfiRuntimeEventFlag

Event_mask.

latest_render_update_generation: guint64

Counts the render updates that the map has made for its render session.

tile: MaplibreNativeFfiMapTileSettings

Tile.

bounds: MaplibreNativeFfiCameraBounds

Bounds.

free_camera: MaplibreNativeFfiFreeCamera

Free_camera.

view: MaplibreNativeFfiMapView

View.

Instance methods