Weather layer switcher

Switch the display of various weather layers within the MapTiler Cloud Weather dataset and access the data details at the location indicated by the cursor.

By utilizing the animateByFactor(3600) function, we can create a time-based animation that spans the next four days. Each second of the animation represents an hour.

Utilize the provided time animation bar to explore the weather forecast for the upcoming four-day period.



Learn more

Check out the Weather JS module reference

The Weather JS module can only be used with the MapTiler SDK.

Related examples

An extension of MapLibre GL JS