changeset 265:c46c369764e9

Multilayer for Europeana4D
author fknauft
date Wed, 25 Jan 2012 20:32:38 +0100
parents 52b1247140b7
children c37e8c173136
files gis_gui/lib/blocks.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gis_gui/lib/blocks.js	Wed Jan 25 19:33:19 2012 +0100
+++ b/gis_gui/lib/blocks.js	Wed Jan 25 20:32:38 2012 +0100
@@ -118,7 +118,7 @@
 	for (var i=0;i<tables.length;i++){
 		if (i!=0) {e4D_URL=e4D_URL+"&";}
 		layer_URL= "http://mappit.mpiwg-berlin.mpg.de/db/RESTdb/db/public/" + escape(tables[i])  + "?" + paramstr;
-        e4D_URL=e4D_URL+"kml"+[i+1]+"='"+layer_URL+"'&source"+[i+1]+"="+[i+1]+"";
+        e4D_URL=e4D_URL+"kml"+[i+1]+"="+layer_URL+"&source"+[i+1]+"=1";
 	}
     console.debug("                e4D_URL=", e4D_URL );
     var newwindow=window.open(e4D_URL,"Mappit@Europeana4D","height=800,width=900");