Merged in feature/MAPG-41-create-place-administration (pull request #81)

MAPG-41 don't re-load pano when clicking again on the selected marker
This commit is contained in:
Bence Pőcze 2020-06-02 19:55:36 +00:00
commit 0d3203c10e

View File

@ -111,6 +111,10 @@
}) })
.addTo(MapEditor.map) .addTo(MapEditor.map)
.on('click', function () { .on('click', function () {
if (MapEditor.selectedMarker === this) {
return;
}
MapEditor.select(this); MapEditor.select(this);
}); });