CodeForGiessen / badeseen

Qualität der Badeseen im Landkreis Gießen
http://codeforgiessen.github.io/badeseen/
MIT License
2 stars 0 forks source link

Rendering issues caused by delayed geolocation permission approval #24

Closed serofax closed 10 years ago

serofax commented 10 years ago

Map does not render correctly after switching tabs.

How to repoduce:

  1. Set the permission for the "Location-Tracking" of your browser to ask. Your browser should now ask you to use your location.
  2. Reload the page and click on the "Liste" Tab
  3. Now allow the locationtracking (works best in chrome) The list should now contains entries
  4. Switch back to the map and now it should look like on the screenshot below.

map_bug

Reproduced with chrome 36 and ff 31 both on linux.

I had the same problem with gmaps. To fix it I had to fire the resize event. For leaflet there is something similar -> https://github.com/Leaflet/Leaflet/issues/1564

ChristianSch commented 10 years ago

Even worse the lake list doesn’t get rendered in Firefox on OS X 10.10 at all when the location usage is not enabled directly screen shot 2014-08-18 at 22 05 06