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

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


Author: beck
Date: 2008-12-15 08:25:44 -0500 (Mon, 15 Dec 2008)
New Revision: 3316

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:08:45 UTC (rev 3315)
+++ branches/beck_dev/http/javascripts/mod_mapCookie.php	2008-12-15 13:25:44 UTC (rev 3316)
@@ -57,13 +57,13 @@
 			var storedLayerVisibility   = storedMapState.layers[j][2];
 			var storedLayerQueryability = storedMapState.layers[j][3];
 			
-			console.log(storedLayerTitle);
-			
 			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);
+				
 				currentMapState.wms[k].objLayer[storedLayerId].gui_layer_visible = storedLayerVisibility;
 				currentMapState.wms[k].objLayer[storedLayerId].layer_queryable   = storedLayerQueryability;
 			}



More information about the Mapbender_commits mailing list