[Mapbender-commits] r4959 - trunk/mapbender/http/javascripts

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Nov 6 10:31:35 EST 2009


Author: christoph
Date: 2009-11-06 10:31:35 -0500 (Fri, 06 Nov 2009)
New Revision: 4959

Modified:
   trunk/mapbender/http/javascripts/map_obj.js
Log:


Modified: trunk/mapbender/http/javascripts/map_obj.js
===================================================================
--- trunk/mapbender/http/javascripts/map_obj.js	2009-11-06 15:31:07 UTC (rev 4958)
+++ trunk/mapbender/http/javascripts/map_obj.js	2009-11-06 15:31:35 UTC (rev 4959)
@@ -1,9 +1,3 @@
-/* 
-* $Id: map_obj.js 2517 2008-06-19 16:40:00Z christoph $
-* COPYRIGHT: (C) 2001 by ccgis. This program is free software under the GNU General Public
-* License (>=v2). Read the file gpl.txt that comes with Mapbender for details. 
-*/
- 
 /**
  * Package: Map
  * 
@@ -960,6 +954,7 @@
 		
 			try {
 				if (this.skipWmsIfSrsNotSupported && isIgnoredWms(currentWms)) {
+					new Mb_notice(currentWms.wms_title + " is ignored.");
 					continue;
 				}
 			}
@@ -967,6 +962,7 @@
 				new Mb_warning(e.message);
 			}
 			if (!(currentWms.gui_wms_visible > 0)) {
+				new Mb_notice(currentWms.title + " is not visible, will not be requested.");
 				continue;
 			}
 			myMapId.push(this.elementName + "_map_" + ii);
@@ -1024,8 +1020,8 @@
 		}
 	
 		var newMapRequest = "<div id='"+myDivId+"' ";
-//		newMapRequest += "style=\"position:absolute; top:0px; left:0px; ";
-		newMapRequest += "style=\"";
+		newMapRequest += "style=\"position:absolute; top:0px; left:0px; ";
+//		newMapRequest += "style=\"";
 		newMapRequest += "z-index:" + ii + ";" + opacityString + "\">";
 		newMapRequest += imageString;
 		newMapRequest += "</div>";   



More information about the Mapbender_commits mailing list