summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.php6
-rw-r--r--map.js1
2 files changed, 0 insertions, 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';
-}
?>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">
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); });