//= 8 && map.getZoom() < 10) map.setCenter(overlay.getPoint(), 10); } else{ GDownloadUrl("http://www.livemaster.de/markers.xml?id="+overlay.id+"&rnd="+Math.random(), function(data) { overlay.openInfoWindowHtml(data); }); } } }); GEvent.addListener(map, "zoomend", function(oldLevel, newLevel) { ReloadMarkers(); //alert("DD"+markers.length); for (var i=0; i' + // 'Country code: ' + place.AddressDetails.Country.CountryNameCode); } } function showLocation() { var country = document.getElementById("country"); var city = document.getElementById("city"); var zip = document.getElementById("zip"); var address = country.options[country.selectedIndex].value +","+zip.value+" "+city.value; geocoder.getLocations(address, addAddressToMap); } function GotoLocation(lat, lng){ point = new GLatLng(lat, lng); marker = new GMarker(point); map.addOverlay(marker); map.setCenter(point, 10); } function RefreshMarkers() { for (var i=0; i= 10){ if (box.checked) show(type); else hide(type); } else ReloadMarkers(); } //]]>