Move resonator layer back to layerGroup "portalsLayers",

to make it work with portal level filter.
And modify cleanup code to work with this change.
This commit is contained in:
Xelio
2013-02-10 16:06:13 +08:00
parent c34d7ee3a2
commit eecec0b4a4
3 changed files with 23 additions and 28 deletions

View File

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