From 736522335971a165326b741632dbd5e1efdf6ec3 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 30 Dec 2013 02:41:22 +0000 Subject: cleanup --- index.php | 6 ------ map.js | 1 - 2 files changed, 7 deletions(-) diff --git a/index.php b/index.php index a21968c..b462de0 100644 --- a/index.php +++ b/index.php @@ -10,12 +10,6 @@ if(empty($lat)) $lat=47.07102; if(empty($lng)) $lng=15.440; if(empty($res)) $res=15; -$apikey = 'unknownhost'; -if($_SERVER['HTTP_HOST'] == 'dev-karte.ffgraz.net') { - $apikey = 'ABQIAAAAZRu0cBQNp9TOBJp1i-DhohS9pf3riiZoWFmOpEuQ19If-UHZjhRHIGQIC00eY1H5H71yDqx-QzdyJA'; -} elseif($_SERVER['HTTP_HOST'] == 'dev-karte.graz.funkfeuer.at') { - $apikey = 'ABQIAAAAZRu0cBQNp9TOBJp1i-DhohSbKGG4yPVU7VmuBMuIIaQfSNuMAxRrbvJwWee4f-0iW-LpRZkkrl531Q'; -} ?> diff --git a/map.js b/map.js index 8f7a088..a248b1c 100644 --- a/map.js +++ b/map.js @@ -497,7 +497,6 @@ function addNewNodeText(point) { } function setNewMarker(point) { -// TODO: make this dragable?? var marker = new google.maps.Marker({position: point, icon: makeIcon('newnode')}); var infowindow = new google.maps.InfoWindow({ content: addNewNodeText(point) }); google.maps.event.addListener(infowindow,"closeclick",function () { marker.setMap(null); }); -- cgit v1.2.1