Enum RuntimeEventType
- Namespace
- Maplibre.NativeFfi
- Assembly
- Maplibre.NativeFfi.dll
The kind of an event.
public enum RuntimeEventType : uint
Fields
MapCameraDidChange = 3MapCameraIsChanging = 2MapCameraWillChange = 1MapGlyphsError = 22MapGlyphsLoaded = 21MapGlyphsRequested = 20MapIdle = 8The map rendered a complete frame and has nothing left to load, animate, or redraw.
MapLoadingFailed = 7The map failed to load a style.
MapLoadingFinished = 6The map loaded its style and everything that the current view needs, and rendered the result.
MapLoadingStarted = 5The map started to load a style.
MapRenderError = 9MapRenderFrameFinished = 11MapRenderFrameStarted = 10MapRenderMapFinished = 13MapRenderMapStarted = 12MapSourceChanged = 16A source in the style changed, such as when its TileJSON loads.
MapSpriteError = 25MapSpriteLoaded = 24MapSpriteRequested = 23MapStyleImageMissing = 14The style uses an image that it doesn't have.
MapStyleLoaded = 4MapTileAction = 15A tile moved to another step of loading.
OfflineRegionResponseError = 18A resource that the region needs failed to download.
OfflineRegionStatusChanged = 17OfflineRegionTileCountLimitExceeded = 19The region's download became inactive because the cache file's offline regions hold as many tiles from MapLibre's demo tile server as the limit allows. Only tiles of sources with a
maplibre://URL count toward the limit.
Remarks
Only maps in MapMode.Continuous raise
RuntimeEventType.MapLoadingFinished, RuntimeEventType.MapIdle,
and the render frame and render map events. Offline region events come only
for the regions and types that
RuntimeHandle.SetOfflineRegionObservedAsync() selects.
See mln_runtime_event_type in the C API reference.