Description
Leaflet.TimeDimension is a plugin that adds a time dimension to maps built with Leaflet, the open-source JavaScript mapping library. It lets a map show data that changes over time, such as forecast or observation layers, with a time control that viewers use to move through the available timestamps. You can attach it to a map with a few options, or create the TimeDimension objects yourself for more control. The plugin includes layer types for WMS services and GeoJSON data, a control for the time slider, and a player that steps through the time values. The API documents the options, events and methods for each part, so your own code can react to changes or drive the animation. The project comes from SOCIB, and its source is public on GitHub. The README notes that SOCIB no longer runs an internal proxy for the examples, so you need your own proxy, or a service that supports CORS for your site. It suits developers who publish time-based map data on a Leaflet map.…
Highlights
- Time slider and player for Leaflet maps
- WMS and GeoJSON time-based layers
- Simple map options or manual object creation
- Documented events and methods
- Public source on GitHub
Ratings & Reviews
No ratings yet
Be the first to rate Leaflet.TimeDimension.
People also visit
Wind Layer
wind-layer | a openlayers && maptalks && amap && bmap && leaflet && mapbox-gl &&
Leaflet.TimeDimension FAQ
What does the plugin add to Leaflet?
A time dimension: a time control and player that let viewers move through time-based map layers.
Which layer types are supported?
The plugin includes time-aware WMS layers and GeoJSON layers, and the API docs cover both.
Do the examples work out of the box?
Not necessarily. The README says SOCIB no longer runs a proxy for the examples, so you need your own proxy or a service with CORS enabled for your origin.
How do I add it to a map?
Set the timeDimension and timeDimensionControl options on the map, or create the TimeDimension objects manually for more control.
What are the best Leaflet.TimeDimension alternatives?
Popular alternatives to Leaflet.TimeDimension include Laravel Maps, Leaflet.extras and Wind Layer. See all Leaflet.TimeDimension alternatives






