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.
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.

Related examples

An extension of MapLibre GL JS