Layers events

These evetns are available for all layers. For layer-specific events, refer to the layer documentation.

To add a calback function to a layer event, do the following:

Note that most layer methods can only be called after the event sourceReady has been emmited.
The Weather JS module can only be used with the MapTiler SDK.