From 7122687b9849911429072de1bf31071b830780c5 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 30 Dec 2013 12:02:16 +0000 Subject: cleanup --- map.js | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'map.js') diff --git a/map.js b/map.js index a248b1c..7db6e43 100644 --- a/map.js +++ b/map.js @@ -5,7 +5,7 @@ var reloadcon = null; var countboxText = null; var overlays = new Array(); overlays["newmarker"] = null; -overlays["ruler"] = new Array(); +//overlays["ruler"] = new Array(); overlays["locations"] = new Array(); overlays["links"] = new Array(); var locations = new Array(); @@ -106,7 +106,6 @@ function drawLocations(xmlData) { locations[id] = new Location(element[i]); var marker = new google.maps.Marker({position: locations[id].point, icon: makeIcon(locations[id].state)}); - marker.overlaytype = "location"; marker.locid = id; google.maps.event.addListener(marker, "click", onLocationClick); marker.setMap(map); @@ -183,7 +182,6 @@ function drawLinks(xmlData) { var line = new google.maps.Polyline({path: [links[id].frompoint, links[id].topoint], strokeColor: makeColor(Math.floor(links[id].value)), strokeWeight: makeWeight(Math.floor(links[id].value))}); line.name = id; line.state = "Unbekannt"; - line.overlaytype = "link"; line.linkid = id; line.dnsfrom = element[i].getAttribute("dnsfrom"); line.dnsto = element[i].getAttribute("dnsto"); @@ -263,8 +261,8 @@ function drawLinks(xmlData) { function showLinkInfo(link, point) { var html = '