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

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Mon Sep 8 08:34:50 PDT 2014


Author: armin11
Date: 2014-09-08 08:34:50 -0700 (Mon, 08 Sep 2014)
New Revision: 9061

Modified:
   trunk/mapbender/http/javascripts/wms.js
Log:
First changes to show download symbols in layertree

Modified: trunk/mapbender/http/javascripts/wms.js
===================================================================
--- trunk/mapbender/http/javascripts/wms.js	2014-09-08 15:34:14 UTC (rev 9060)
+++ trunk/mapbender/http/javascripts/wms.js	2014-09-08 15:34:50 UTC (rev 9061)
@@ -587,7 +587,7 @@
 	return state;
 };
 /**
- * handle change of visibility / quaryability of a layer
+ * handle change of visibility / queryability of a layer
  * 
  * @param string layer_name of layer to handle
  * @param string type of change ("visible" or "querylayer")
@@ -779,7 +779,8 @@
 	gui_layer_minscale,
 	gui_layer_maxscale,
 	gui_layer_wfs_featuretype,
-	gui_layer_title){
+	gui_layer_title,
+	gui_layer_dataurl_href){
                       
 	wms[wms.length-1].objLayer[wms[wms.length-1].objLayer.length] = new wms_layer(
 		layer_parent,
@@ -802,7 +803,8 @@
 		parseInt(gui_layer_minscale, 10),
 		parseInt(gui_layer_maxscale, 10),
 		gui_layer_wfs_featuretype,
-		gui_layer_title );
+		gui_layer_title,
+		gui_layer_dataurl_href );
 	var parentLayer = wms[wms.length-1].getLayerByLayerPos(parseInt(layer_parent, 10));
 	if(parentLayer) {
 		parentLayer.has_childs = true;
@@ -840,7 +842,8 @@
 	gui_layer_minscale,
 	gui_layer_maxscale,
 	gui_layer_wfs_featuretype,
-	gui_layer_title){
+	gui_layer_title,
+	gui_layer_dataurl_href){
 	this.layer_id = wms_layer_count;
 	this.layer_uid = wms_layer_uid;
 	this.layer_parent = layer_parent;
@@ -865,6 +868,7 @@
 	this.gui_layer_maxscale = gui_layer_maxscale;
 	this.gui_layer_style = gui_layer_style;
 	this.gui_layer_wfs_featuretype = gui_layer_wfs_featuretype;
+	this.gui_layer_dataurl_href = gui_layer_dataurl_href;
 	this.has_childs = false;
 	this.layer_style = [];
 	wms_layer_count++;



More information about the Mapbender_commits mailing list