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