first stage of having faction-specific layers - portals, links and fields are now a layer group consisting of three faction-specific leaflet LayerGroups

also, move load.js from directly embedded in boot.js into an external file
This commit is contained in:
Jon Atkins
2013-09-12 03:07:25 +01:00
parent 9579ca8377
commit ac6a235564
4 changed files with 81 additions and 28 deletions

View File

@ -211,7 +211,8 @@ window.selectedPortal = null;
window.portalRangeIndicator = null;
window.portalAccessIndicator = null;
window.mapRunsUserAction = false;
var portalsLayers, linksLayer, fieldsLayer;
//var portalsLayers, linksLayer, fieldsLayer;
var portalsFactionLayers, linksFactionLayers, fieldsFactionLayers;
// contain references to all entities loaded from the server. If render limits are hit,
// not all may be added to the leaflet layers