diff map.js @ 11:389cf726303e

mode=1, and add download.php
author nylin@mpiwg-berlin.mpg.de
date Tue, 27 Oct 2015 15:05:07 +0100
parents 8f5635197895
children f17f43f0a63f
line wrap: on
line diff
--- a/map.js	Fri Oct 23 15:50:00 2015 +0200
+++ b/map.js	Tue Oct 27 15:05:07 2015 +0100
@@ -94,7 +94,7 @@
         }*/
         ];
 //mpgiwg layers
-if (client_ip.substring(0,10)=="141.14.238") {
+if (client_ip.substring(0,9)=="141.14.23") {
 	backgroundMapArray.push(
 			{
            
@@ -427,7 +427,7 @@
 	//pieChartWidget.addPieChart(0,"place");
 }
 function initToolbar(){
-	var mode=-1;
+	var mode=1;
 	if(urlParameter['mode']!=undefined)
 		mode=urlParameter['mode'];
 	if(mode==1){//locate the overlay selector on the map toolbar