MAPG-41 don't re-load pano when clicking again on the selected marker
This commit is contained in:
parent
aa68e748dd
commit
41b989d6e3
@ -82,6 +82,10 @@
|
|||||||
})
|
})
|
||||||
.addTo(MapEditor.map)
|
.addTo(MapEditor.map)
|
||||||
.on('click', function () {
|
.on('click', function () {
|
||||||
|
if (MapEditor.selectedMarker === this) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
MapEditor.select(this);
|
MapEditor.select(this);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user