From 6cbf30e9e6a57b4c4260fa4a7f8238a020b69ebb Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 5 Dec 2008 15:27:48 +0000 Subject: removed some non-base stuff --- index.php | 1 + map.js | 11 +---------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/index.php b/index.php index 466ab42..59f41e0 100644 --- a/index.php +++ b/index.php @@ -35,6 +35,7 @@ if(!isset($marker)) $marker="online";
Legende: +
Adresse suchen: diff --git a/map.js b/map.js index 9c0f06b..15dd146 100644 --- a/map.js +++ b/map.js @@ -2,11 +2,7 @@ var map = null; var physicalMaxLevel; var xmlData = null; var geocoder = null; -var nodes = new Array(); -var links = new Array(); var overlays = new Array(); -overlays["nodes"] = new Array(); -overlays["links"] = new Array(); overlays["newmarker"] = null; overlays["ruler"] = new Array(); @@ -60,8 +56,6 @@ function checkBrowser() { function onAddOverlay(overlay) { switch(overlay.overlaytype) { - case "node": overlays["nodes"].push(overlay); break; - case "link": overlays["links"].push(overlay); break; case "newmarker": { if(overlays["newmarker"]) { map.removeOverlay(overlays["newmarker"]); @@ -99,7 +93,7 @@ function onData(data, responseCode) { } xmlData = GXml.parse(fetchData); - // TODO: add data import + // TODO: add data import and comment in GDownloadUrl() at initialize() } function addNewNodeText(point) { @@ -111,9 +105,6 @@ function makeIcon(type) { var icon = new GIcon(); switch(type) { - case 'online': icon.image = "./img/marker_online.png"; break; - case 'tunnel': icon.image = "./img/marker_tunnel.png"; break; - case 'offline': icon.image = "./img/marker_offline.png"; break; case 'ruler': icon.image = "./img/marker_blue.png"; break; case 'newnode': icon.image = "./img/marker_darkred.png"; } -- cgit v1.2.1