maybe related to #182
This commit is contained in:
parent
634dc12d73
commit
4e837a4084
@ -233,10 +233,13 @@ window.renderPortal = function(ent) {
|
|||||||
old.options.details = ent[2];
|
old.options.details = ent[2];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// there were changes, remove old portal
|
|
||||||
removeByGuid(ent[0]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// there were changes, remove old portal. Don’t put this in old, in
|
||||||
|
// case the portal changed level and findEntityInLeaflet doesn’t find
|
||||||
|
// it.
|
||||||
|
removeByGuid(ent[0]);
|
||||||
|
|
||||||
var latlng = [ent[2].locationE6.latE6/1E6, ent[2].locationE6.lngE6/1E6];
|
var latlng = [ent[2].locationE6.latE6/1E6, ent[2].locationE6.lngE6/1E6];
|
||||||
|
|
||||||
// pre-loads player names for high zoom levels
|
// pre-loads player names for high zoom levels
|
||||||
|
Loading…
x
Reference in New Issue
Block a user