Open grassland-curing-cfa opened 6 years ago
I'm not the package author, but isn't this exactly what you would want for a plugin designed to show different time slices of the same layer? Each time slice for your layer is really a separate Leaflet layer underneath with a separate series requests to Geoserver (or whatever WMS provider); the plugin helps coordinate them so that it looks like a single layer to the user.
Thanks for creating this beautiful plugin to allow time-enabled WMS layers.
I have been testing and trialling the plugin with showing a few NetCDF files (in hourly interval) that were published to GeoServer with Time enabled.
The layer was added to the map perfectly and the plugin worked beautifully. This was the only layer added to the base map (L.TileLayer type). What I have found interesting (and confusing) to me is it seems the plugin requested the same layer on GeoServer multiple times with different "time" params and the images were completely overlapping. I was trying to console.log all the layers of the L.TileLayers.WMS type on the map.
What was printed out on the browser's console was:
The two Objects actually have different "time" params which just have one hour in difference.
Is this how the plugin was designed?