remove array with portal details references that might have been leaking. Instead, store the details with the rendered portals so removal is handled automatically

This commit is contained in:
Stefan Breunig
2013-02-04 16:15:25 +01:00
parent f268f0cffc
commit 71bfeff678
4 changed files with 22 additions and 13 deletions

View File

@ -145,7 +145,6 @@ window.portalRangeIndicator = null;
window.portalAccessIndicator = null;
window.mapRunsUserAction = false;
var portalsLayer, linksLayer, fieldsLayer;
var portalsDetail = {};
// contain references to all entities shown on the map. These are
// automatically kept in sync with the items on *sLayer, so never ever