diff options
-rw-r--r-- | map3.js | 22 |
1 files changed, 4 insertions, 18 deletions
@@ -19,9 +19,8 @@ debug = function (log_txt) { } function initialize(lat, lng, res) { - $('#southeastcontainer').hide(); - debug("Initializing Funkfeuer Graz Map"); + $('#southeastcontainer').hide(); google.maps.visualRefresh=true; var mapOptions = { @@ -38,7 +37,6 @@ function initialize(lat, lng, res) { mapOptions); //##// deaktiviert 2013112 goole maps api v3 incompatibel //##// map.disableDoubleClickZoom(); -//##// map.enableScrollWheelZoom(); //##// map.addControl(new RulerControl()); //##// reloadcon = new reloadcontrol(); @@ -56,7 +54,7 @@ function initialize(lat, lng, res) { document.getElementById("map").appendChild(dnsinfo); dnsinfo.style.visibility = "hidden" -//##// geocoder = new google.maps.Geocoder(); +// geocoder = new google.maps.Geocoder(); var countbox = document.getElementById("countbox"); countboxText = document.createTextNode("Aktiv: 0"); @@ -66,18 +64,6 @@ function initialize(lat, lng, res) { $.get( "data.php",onData); } -// function onAddOverlay(overlay) { -// switch(overlay.overlaytype) { -// case "ruler": { -// if(overlays["ruler"][overlay.overlaysubtype]) { -// map.removeOverlay(overlays["ruler"][overlay.overlaysubtype]); -// } -// overlays["ruler"][overlay.overlaysubtype] = overlay; -// break; -// } -// } -// } - function onMapClick(mouse_event) { map.setCenter(mouse_event.latLng); @@ -214,9 +200,9 @@ function drawLinks(xmlData) { line.dnsto = element[i].getAttribute("dnsto"); line.Routerfrom = element[i].getAttribute("from"); line.Routerto = element[i].getAttribute("to"); - google.maps.event.addListener(line, "mouseout", function() { lineinfo.style.visibility = "hidden"; }); +// google.maps.event.addListener(line, "mouseout", function() { lineinfo.style.visibility = "hidden"; }); // google.maps.event.addListener(line, "mouseover", function(point) { showLinkInfo(this, point)}); - google.maps.event.addListener(line, "click", function(point){onLinkClick(this,point)}); +// google.maps.event.addListener(line, "click", function(point){onLinkClick(this,point)}); // google.maps.event.addListener(line, "click", function(latlng){map.openInfoWindowHtml(latlng, message)}); line.setMap(map); |