if (GBrowserIsCompatible()) { geocoder = new GClientGeocoder(); var baseIcon = new GIcon(); baseIcon.iconSize = new GSize(25, 30); baseIcon.iconAnchor = new GPoint(8, 30); baseIcon.infoWindowAnchor = new GPoint(13, 13); var mainIcon = new GIcon(); mainIcon.iconSize = new GSize(35, 40); mainIcon.iconAnchor = new GPoint(17, 40); mainIcon.infoWindowAnchor = new GPoint(15, 15); var _mFlags = {} var select_html = ''; document.getElementById("dropdowns").innerHTML = select_html; map.addOverlay(new GTileLayerOverlay(tilelayer)); } } request.send(null); } else { alert('Sorry, the Google Maps API is not compatible with this browser. Maybe it is time to upgrade to a better browser.'); }