summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@ffgraz.net>2013-12-30 02:41:22 +0000
committerChristian Pointner <equinox@ffgraz.net>2013-12-30 02:41:22 +0000
commit736522335971a165326b741632dbd5e1efdf6ec3 (patch)
tree67c46a7819473edab3b7b4f1ddba4dceb645a4fc
parentdbc4875e553af4d617bba3d2450562c0671aea95 (diff)
cleanup
-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); });