RuntimeEventType class final
The kind of an event.
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.setOfflineRegionObserved() selects.
See mln_runtime_event_type in the
C API reference.
Constructors
- RuntimeEventType.fromRawValue(int rawValue)
-
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- mapCameraDidChange → const RuntimeEventType
- mapCameraIsChanging → const RuntimeEventType
- mapCameraWillChange → const RuntimeEventType
- mapGlyphsError → const RuntimeEventType
- mapGlyphsLoaded → const RuntimeEventType
- mapGlyphsRequested → const RuntimeEventType
- mapIdle → const RuntimeEventType
- The map rendered a complete frame and has nothing left to load, animate, or redraw.
- mapLoadingFailed → const RuntimeEventType
- The map failed to load a style.
- mapLoadingFinished → const RuntimeEventType
- The map loaded its style and everything that the current view needs, and rendered the result.
- mapLoadingStarted → const RuntimeEventType
- The map started to load a style.
- mapRenderError → const RuntimeEventType
- mapRenderFrameFinished → const RuntimeEventType
- mapRenderFrameStarted → const RuntimeEventType
- mapRenderMapFinished → const RuntimeEventType
- mapRenderMapStarted → const RuntimeEventType
- mapSourceChanged → const RuntimeEventType
- A source in the style changed, such as when its TileJSON loads.
- mapSpriteError → const RuntimeEventType
- mapSpriteLoaded → const RuntimeEventType
- mapSpriteRequested → const RuntimeEventType
- mapStyleImageMissing → const RuntimeEventType
- The style uses an image that it doesn't have.
- mapStyleLoaded → const RuntimeEventType
- mapTileAction → const RuntimeEventType
- A tile moved to another step of loading.
- offlineRegionResponseError → const RuntimeEventType
- A resource that the region needs failed to download.
- offlineRegionStatusChanged → const RuntimeEventType
- offlineRegionTileCountLimitExceeded → const RuntimeEventType
-
The 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.