[Mapbender-commits] r4886 - trunk/mapbender/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Fri Oct 30 07:32:51 EDT 2009
Author: christoph
Date: 2009-10-30 07:32:51 -0400 (Fri, 30 Oct 2009)
New Revision: 4886
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-10-30 11:31:46 UTC (rev 4885)
+++ trunk/mapbender/http/javascripts/map_obj.js 2009-10-30 11:32:51 UTC (rev 4886)
@@ -691,7 +691,9 @@
if (j > 0) {
url += ",";
}
- if (currentWms.getCurrentStyleByLayerName(layer[j]) !== false) {
+
+ if (currentWms.getCurrentStyleByLayerName(layer[j]) !== false &&
+ typeof currentWms.getCurrentStyleByLayerName(layer[j]) !== "undefined") {
url += currentWms.getCurrentStyleByLayerName(layer[j]);
}
}
@@ -1017,7 +1019,8 @@
}
var newMapRequest = "<div id='"+myDivId+"' ";
- newMapRequest += "style=\"position:absolute; top:0px; left:0px; ";
+// 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