Plugin to add the possibility to display a WMS layers not for a single time but for a startTime/endTime continuos interval if supported by the WMS server (like Geoserver).
How to use:
instead of
L.timeDimension.layer.wmsuse
L.timeDimension.layer.wms.wmsTimeIntervalinstead of
var map = L.map('map', {
...
timeDimension: true,
timeDimensionOptions: {
....
},
timeDimensionControl: true,
});use
var map = L.map('map', {
...
timeDimensionWmsTimeInterval: true,
timeDimensionOptions: {
....
},
timeDimensionControlWmsTimeInterval: true,
});if creating control outside map initialization, instead of
var timeDimensionControl = L.control.timeDimension(timeDimensionControlOptions);use
var timeDimensionControl = L.control.timeDimension.wmsTimeInterval(timeDimensionControlOptions);