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.
Use the Weather JS module with the MapTiler SDK v2.x. We are working on adapting the weather module to work with v3 of the SDK and to be able to have weather visualizations on a 3D globe.