make selecting a portal robust against it not being displayed on the map
(now entirely possible now portal data is independant of display status)
This commit is contained in:
parent
5784be6b6f
commit
7b838af6e3
@ -156,8 +156,12 @@ window.selectPortal = function(guid) {
|
||||
|
||||
if(portals[guid]) {
|
||||
// resonatorsSetSelectStyle(guid);
|
||||
portals[guid].bringToFront();
|
||||
|
||||
setMarkerStyle(portals[guid], true);
|
||||
|
||||
if (map.hasLayer(portals[guid])) {
|
||||
portals[guid].bringToFront();
|
||||
}
|
||||
}
|
||||
|
||||
return update;
|
||||
|
Loading…
x
Reference in New Issue
Block a user