Weather layer with a custom color blind ramp

Visualize weather temperature layer from MapTiler Cloud Weather Temperature dataset with a custom color blind ramp and get the temperature at the point under the cursor.

In the temperature layer, we use one of the color ramps built-in in the SDK. Using the animateByFactor(3600) function of the temperature layer, we animate it in time (next 4 days). Each second of animation corresponds to one hour.



Learn more

Check out the Weather JS module reference

Check out the Temperature layer reference

Check out the Color ramp reference

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