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

Map load event still a bit twitchy #28

Closed gregallensworth closed 5 years ago

gregallensworth commented 6 years ago

Reference:

https://openhistoricalmap.github.io/openhistoricaltiles/datefilter/#14.00/40.76861/-119.23122/2009-08-15,2009-09-15/

https://openhistoricalmap.github.io/openhistoricaltiles/dateissues/#14.00/40.77159/-119.21816/

In both cases, starting from a cleared cache etc. the page loads but the initial state of the map doesn't always catch up. The dateissues one won't always load the sidebar content, and the datefilter one won't always load the vector data e.g. Burning Man 2008

It almost always works as I shift-reload during development and after the first time loading... but sometimes it doesn't.

Maybe keep banging on it, see if we can narrow it down and improve it?