Open-Historical-Map-Labs / openhistoricaltiles

First iteration of vector tiles from OHM Planet data
BSD 2-Clause "Simplified" License
3 stars 0 forks source link

Datefilter map: Date filter enhancements #22

Closed gregallensworth closed 6 years ago

gregallensworth commented 6 years ago

Per chat today, the datefilter map's timeslider could use some improvements:

gregallensworth commented 6 years ago

About 1 time in 4 on this PC, changing the date results in an endless loop of the map and the URL bar chasing each other back and forth, waffling between two dates.

To replicate, just try to pick a new date. Try it a few times. It will happen eventually, though it never did this in my earlier testing...

I expect that this comes from both the date filter control and the URL hash both trying to be the source of truth as to the map's date view.