var startList = function() { var GmlClientGeocoder = new GClientGeocoder(); var map; function moveCenterAddress() { GmlClientGeocoder.getLocations(Australia, GmlMoveEditorMarkerAddressResponse); } function GmlMoveEditorMarkerAddressResponse(response) { if (!response || response.Status.code != 200) { alert('Sorry, I could not find that address, please try again.'); } else { place = response.Placemark[0]; point = new GLatLng( place.Point.coordinates[1], place.Point.coordinates[0] ); map.setCenter(point); } } function createMarker(point,html) { var theIcon = new GIcon(G_DEFAULT_ICON); theIcon.image = 'https://www.icpa.com.au/modules/icpaBranches/images/icons/gmap_branch.png'; theIcon.shadow = 'https://www.icpa.com.au/modules/icpaBranches/images/icons/gmap_branch_shadow.png'; theIcon.iconSize = new GSize(33, 30); theIcon.shadowSize = new GSize(33, 30); var marker = new GMarker(point, {icon: theIcon}); return marker; } function load() { if (GBrowserIsCompatible()) { map = new GMap2(document.getElementById("gmap")); map.addControl(new GSmallMapControl()); //map.addControl(new GMapTypeControl()); map.setCenter(new GLatLng(-24.946259,150.075809),7); var bounds = new GLatLngBounds(); var point = new GLatLng(-24.946259,150.075809); bounds.extend(point); var marker = createMarker(point,'
Dawson Valley