STYLE_DATA_LOADED

val STYLE_DATA_LOADED: String

The requested style data has been loaded. The `type` property defines what kind of style data has been loaded. Event may be emitted synchronously, for example, when `setStyleJSON` is used to load style. Based on an event data `type` property value, following use-cases may be implemented: - `style`: Style is parsed, style layer properties could be read and modified, style layers and sources could be added or removed before rendering is started. - `sprite`: Style's sprite sheet is parsed and it is possible to add or update images. - `sources`: All sources defined by the style are loaded and their properties could be read and updated if needed. ``` text Event data format (Object): . └── type - String ("style" | "sprite" | "sources") ```