socib / Leaflet.TimeDimension

Add time dimension capabilities on a Leaflet map.
MIT License
435 stars 139 forks source link

time is set to last value for time range: 1850-1950 #156

Open ekkelenkamp opened 6 years ago

ekkelenkamp commented 6 years ago

Hi,

The WMS layer I'm using has a time range of 1850-1950. No default time is set. This results in setting the time to 1950 which will set the slider to the last time step. For other layers without a default time set the slider is always positioned at the first time step, which is what I expect. Might there be an issue with the time slider for dates before 1970 (with a negative epoch time)?