> and to prove their uselessness

You can see that the `_osm_location` cookie is updated. If you remove some 
event listeners, the cookie won't be updated on these events.

If you do `map.off("layeradd layerremove")` then after changing layers, going 
to some non-map-view page and going back to the map you'll see that your choice 
of layers wasn't remembered.

The problem is that those layer events happen probably more often than 
originally anticipated when the data layer is enabled.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5466#issuecomment-2571517168
You are receiving this because you are subscribed to this thread.

Message ID: 
<openstreetmap/openstreetmap-website/issues/5466/2571517...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to