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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Mar 2 06:21:28 EST 2007


Author: christoph
Date: 2007-03-02 06:21:28 -0500 (Fri, 02 Mar 2007)
New Revision: 1162

Modified:
   trunk/mapbender/http/javascripts/mod_addWMSgeneralFunctions.js
Log:
added function mod_addLayer_load

Modified: trunk/mapbender/http/javascripts/mod_addWMSgeneralFunctions.js
===================================================================
--- trunk/mapbender/http/javascripts/mod_addWMSgeneralFunctions.js	2007-03-02 11:20:12 UTC (rev 1161)
+++ trunk/mapbender/http/javascripts/mod_addWMSgeneralFunctions.js	2007-03-02 11:21:28 UTC (rev 1162)
@@ -2,6 +2,10 @@
 	window.frames['loadData'].document.location.href = "../php/mod_createJSObjFromXML.php?caps=" + escape(caps);
 }
 
+function mod_addLayer_load(caps,layer_name){
+	window.frames['loadData'].document.location.href = "../php/mod_createJSLayerObjFromXML.php?caps=" + escape(caps) + "&layer_name=" + escape(layer_name);
+}
+
 function mod_addWMS_refresh(){
 	mb_mapObjaddWMS('mapframe1')
 	zoom('mapframe1', true, 0.999);



More information about the Mapbender_commits mailing list