Map Listener Delegate
Definition of a listener manager delegate to manage all kinds of listeners.
Functions
Add a listener that's going to be invoked whenever map camera changes.
Add a listener that's going to be invoked whenever map has entered the idle state.
Add a listener that's going to be invoked whenever the Map's style has been fully loaded, and the Map has rendered all visible tiles.
Add a listener that's going to be invoked whenever there's a map load error.
Add a listener that's going to be invoked whenever the Map finished rendering a frame.
Add a listener that's going to be invoked whenever the Map started rendering a frame.
Add a listener that's going to be invoked whenever a source has been added with StyleManager#addStyleSource runtime API.
Add a listener that's going to be invoked whenever the source data has been loaded.
Add a listener that's going to be invoked whenever a source has been removed with StyleManager#removeStyleSource runtime API.
Add a listener that's going to be invoked whenever the requested style data been loaded. The 'type' property defines what kind of style data has been loaded.
Add a listener that's going to be invoked whenever a style has a missing image.
Add a listener that's going to be invoked whenever an image added to the Style is no longer needed and can be removed using StyleManager#removeStyleImage method.
Add a listener that's going to be invoked whenever the requested style has been fully loaded, including the style specified sprite and sources.
Remove the camera change listener.
Remove the map idle listener.
Remove the map loaded listener.
Remove the map error listener.
Remove the render frame finished listener.
Remove the render frame started listener.
Remove the source added listener.
Remove the source data loaded listener.
Remove the source removed listener.
Remove the style data loaded listener
Remove the style image missing listener.
Remove the style image unused listener.
Remove the style loaded listener.
Subscribes to CameraChanged
event.
Subscribes to an experimental GenericEvent
event.
Subscribes to MapIdle
event.
Subscribes to MapLoaded
event.
Subscribes to MapLoadingError
event.
Subscribes to RenderFrameFinished
event.
Subscribes to RenderFrameStarted
event.
Subscribes to ResourceRequest
event.
Subscribes to SourceAdded
event.
Subscribes to SourceDataLoaded
event.
Subscribes to SourceRemoved
event.
Subscribes to StyleDataLoaded
event.
Subscribes to StyleImageMissing
event.
Subscribes to StyleImageRemoveUnused
event.
Subscribes to StyleLoaded
event.