Weather wind and temperature layer

Visualize weather wind and temperature layer from MapTiler Cloud Weather Wind dataset and get the wind speed and temperature at the point under the cursor.

In this example we use the ColorRamp.builtin.NULL on the wind layer to only display the wind direction particles above the temperature layer. We also show a time control where you can select a date and time to see the data for that moment. To generate the time control we use the getAnimationStartDate() and getAnimationEndDate() functions of the layer to define the maximum and minimum date.



Learn more

Check out the Weather JS module reference

Check out the Wind layer reference

Check out the Temperature layer reference

The Weather JS module can only be used with the MapTiler SDK.
An extension of MapLibre GL JS