Add function to store layer control status (overlay only) in cookie for using in next session.

This commit is contained in:
Xelio
2013-04-28 23:47:50 +08:00
parent 4d0ca06836
commit 2556a1ab8d
3 changed files with 47 additions and 0 deletions

View File

@ -232,6 +232,10 @@ window.links = {};
window.fields = {};
window.resonators = {};
// contain current status(on/off) of overlay layerGroups.
// But you should use isLayerGroupDisplayed(name) to check the status
window.overlayStatus = {};
// plugin framework. Plugins may load earlier than iitc, so dont
// overwrite data
if(typeof window.plugin !== 'function') window.plugin = function() {};