var startList = function() { var GmlClientGeocoder = new GClientGeocoder(); var map; function moveCenterAddress() { GmlClientGeocoder.getLocations(Perth, 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 = 'http://www.buggles.com.au/modules/bugLocations/images/buggle.png'; theIcon.shadow = 'http://www.buggles.com.au/modules/bugLocations/images/buggle_shadow.png'; theIcon.iconSize = new GSize(27, 43); theIcon.shadowSize = new GSize(35, 40); var marker = new GMarker(point, {icon: theIcon}); // The new marker "mouseover" listener GEvent.addListener(marker,"click", function() { marker.openInfoWindowHtml(html, {maxWidth:200}); }); return marker; } function load() { if (GBrowserIsCompatible()) { map = new GMap2(document.getElementById("gmap")); map.addControl(new GSmallMapControl()); //map.addControl(new GMapTypeControl()); map.setCenter(new GLatLng(-27.561302,151.955505),10); var bounds = new GLatLngBounds(); var point = new GLatLng(-32.018997,115.95941); bounds.extend(point); var marker = createMarker(point,'
centre

Beckenham,
118 William Street

(08) 9356 8066
beckenham@buggles.com.au

Click here for more info

'); // ************************ Must addslashes to php stuff above, single quote will break it map.addOverlay(marker); var point = new GLatLng(-31.77127,115.76695); bounds.extend(point); var marker = createMarker(point,'
centre

Beldon,
255 Eddystone Avenue

(08) 9403 7200
beldon@buggles.com.au

Click here for more info

'); // ************************ Must addslashes to php stuff above, single quote will break it map.addOverlay(marker); var point = new GLatLng(-31.894996,115.920295); bounds.extend(point); var marker = createMarker(point,'
centre

Cherry Court - Morley,
10 Cherry Court

(08) 9279 1173
cherrycourt@buggles.com.au

Click here for more info

'); // ************************ Must addslashes to php stuff above, single quote will break it map.addOverlay(marker); var point = new GLatLng(-32.08341086936748,115.80697059631348); bounds.extend(point); var marker = createMarker(point,'
centre

Coolbellup,
Cordelia Avenue

(08) 9331 4811
coolbellup@buggles.com.au

Click here for more info

'); // ************************ Must addslashes to php stuff above, single quote will break it map.addOverlay(marker); var point = new GLatLng(-31.971903,116.004468); bounds.extend(point); var marker = createMarker(point,'
centre

Forrestfield,
4 Warda Crescent

(08) 9359 2766
forrestfield@buggles.com.au

Click here for more info

'); // ************************ Must addslashes to php stuff above, single quote will break it map.addOverlay(marker); var point = new GLatLng(-32.05861,115.99444); bounds.extend(point); var marker = createMarker(point,'
centre

Maddington,
3 Helm Street

(08) 9459 3911
maddington@buggles.com.au

Click here for more info

'); // ************************ Must addslashes to php stuff above, single quote will break it map.addOverlay(marker); var point = new GLatLng(-32.52868737743749,115.74727535247803); bounds.extend(point); var marker = createMarker(point,'
centre

Mandurah,
5 Murdoch Drive

(08) 9586 3977
mandurah@buggles.com.au

Click here for more info

'); // ************************ Must addslashes to php stuff above, single quote will break it map.addOverlay(marker); var point = new GLatLng(-32.038708,115.905168); bounds.extend(point); var marker = createMarker(point,'
centre

Riverton,
367 High Road

(08) 9457 7199
riverton@buggles.com.au

Click here for more info

'); // ************************ Must addslashes to php stuff above, single quote will break it map.addOverlay(marker); var point = new GLatLng(-32.115627,115.838649); bounds.extend(point); var marker = createMarker(point,'
centre

South Lake,
5 Rimmington Court

(08) 9414 7522
southlake@buggles.com.au

Click here for more info

'); // ************************ Must addslashes to php stuff above, single quote will break it map.addOverlay(marker); var point = new GLatLng(-32.11639,115.78359); bounds.extend(point); var marker = createMarker(point,'
centre

Spearwood,
6 Barrington Street

(08) 9418 2777
spearwood@buggles.com.au

Click here for more info

'); // ************************ Must addslashes to php stuff above, single quote will break it map.addOverlay(marker); map.setZoom(map.getBoundsZoomLevel(bounds)); map.setCenter(bounds.getCenter()); } } load(); }