Obey the hash
This commit is contained in:
parent
fec9dc84c0
commit
518a51712c
2 changed files with 8 additions and 7 deletions
|
@ -70,7 +70,7 @@ OSM.Note = function (map) {
|
|||
|
||||
var data = $('.details').data();
|
||||
if (!noteState) map.addLayer(noteLayer);
|
||||
if (window.location.hash == "") {
|
||||
if (!window.location.hash) {
|
||||
var coords = data.coordinates.split(',');
|
||||
OSM.route.moveListenerOff();
|
||||
map.once('moveend', OSM.route.moveListenerOn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue