STYLE_LOADED constant Null safety

String const STYLE_LOADED

The requested style has been fully loaded, including the style, specified sprite and sources' metadata.

Event data format (Object).

Note: The style specified sprite would be marked as loaded even with sprite loading error (An error will be emitted via MapLoadingError). Sprite loading error is not fatal and we don't want it to block the map rendering, thus this event will still be emitted if style and sources are fully loaded.

Implementation

static const String STYLE_LOADED = "style-loaded";