MAPG-41 don't re-load pano when clicking again on the selected marker

This commit is contained in:
Bence Pőcze 2020-06-01 23:46:43 +02:00
parent aa68e748dd
commit 41b989d6e3

View File

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