Closed PVince81 closed 10 years ago
When dragging the map, add URL parameters that represent the current map's center (compare with Google Maps).
This can be done somehow with OC.History.pushState but might need tweaking to avoid polluting the history.
OC.History.pushState
Having URL parameters make it possible to quickly share the URL with someone else or simply bookmark it.
This one might help https://github.com/mlevans/leaflet-hash
Fixed in 34aee7d8e07144d085bd01ebffef4de0b965cada
When dragging the map, add URL parameters that represent the current map's center (compare with Google Maps).
This can be done somehow with
OC.History.pushState
but might need tweaking to avoid polluting the history.Having URL parameters make it possible to quickly share the URL with someone else or simply bookmark it.