[Mapbender-commits] r3319 - branches/beck_dev/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Dec 15 08:33:33 EST 2008


Author: beck
Date: 2008-12-15 08:33:33 -0500 (Mon, 15 Dec 2008)
New Revision: 3319

Modified:
   branches/beck_dev/http/javascripts/mod_mapCookie.php
Log:


Modified: branches/beck_dev/http/javascripts/mod_mapCookie.php
===================================================================
--- branches/beck_dev/http/javascripts/mod_mapCookie.php	2008-12-15 13:30:12 UTC (rev 3318)
+++ branches/beck_dev/http/javascripts/mod_mapCookie.php	2008-12-15 13:33:33 UTC (rev 3319)
@@ -53,16 +53,15 @@
 		
 		for(j = 0; j < storedMapState.layers.length; j++) {
 			var storedLayerId           = storedMapState.layers[j][0];
-			var storedLayerTitle        = storedMapState.layers[j][1];
-			var storedLayerVisibility   = storedMapState.layers[j][2];
-			var storedLayerQueryability = storedMapState.layers[j][3];
+			var storedLayerVisibility   = storedMapState.layers[j][1];
+			var storedLayerQueryability = storedMapState.layers[j][2];
 			
 			for(var k = 0; k < currentMapState.wms.length; k++) {
 				if(currentMapState.wms[k].objLayer[storedLayerId] == undefined) {
 					continue;
 				}
 				
-				console.log('Layer ID: %s (%s)',currentMapState.wms[k].objLayer[storedLayerId].layer_id,currentMapState.wms[k].objLayer[storedLayerId].layer_title);
+				console.log('Layer ID: %s',currentMapState.wms[k].objLayer[storedLayerId].layer_id);
 				
 				currentMapState.wms[k].objLayer[storedLayerId].gui_layer_visible = storedLayerVisibility;
 				currentMapState.wms[k].objLayer[storedLayerId].layer_queryable   = storedLayerQueryability;
@@ -86,7 +85,6 @@
 			var layers = [];
 			layers.push(
 				currentMapState.wms[i].objLayer[j].layer_id,
-				currentMapState.wms[i].objLayer[j].layer_title,
 				currentMapState.wms[i].objLayer[j].gui_layer_visible,
 				currentMapState.wms[i].objLayer[j].layer_queryable
 			);



More information about the Mapbender_commits mailing list