make (portals/lihnks/fields)Layers private to IITC core again - they're not for plugins

now only some portals are drawn to the map it's OK to bring them all to front at the end of the render
use larger squares for portal clustering on mobile - as the portal markers are larger
This commit is contained in:
Jon Atkins
2013-09-08 20:43:23 +01:00
parent 695804524e
commit 543e586723
2 changed files with 14 additions and 19 deletions

View File

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