function wagt_map_1() { if(GBrowserIsCompatible()) { if(!document.getElementById('wagt_map_1')) return false; var map = new GMap2(document.getElementById('wagt_map_1')); map.enableContinuousZoom(); map.enableDoubleClickZoom(); map.addControl(new GSmallMapControl()); map.addControl(new GMapTypeControl()); var geocoder = new GClientGeocoder(); var icon = new GIcon(); var markerStyle = 'Google Traditional (pillow)'; var markerColor = 'Nautica'; icon.image = 'http://google.webassist.com/google/markers/traditionalpillow/nautica.png'; icon.shadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.png'; icon.iconSize = new GSize(34,35); icon.shadowSize = new GSize(34,35); icon.iconAnchor = new GPoint(9,23); icon.infoWindowAnchor = new GPoint(19,0); icon.printImage = 'http://google.webassist.com/google/markers/traditionalpillow/nautica.gif'; icon.mozPrintImage = 'http://google.webassist.com/google/markers/traditionalpillow/nautica_mozprint.png'; icon.printShadow = 'http://google.webassist.com/google/markers/traditionalpillow/shadow.gif'; icon.transparent = 'http://google.webassist.com/google/markers/traditionalpillow/nautica_transparent.png'; var address_0 = { street: '90 Union Street', city: 'London', state: 'London', zip: 'SE1 0NW', country: 'United Kingdom', infowindow: 'custom', infowindowtext: 'World Trade Group
90 Union Street,
London - SE1 0NW
', full: '90 Union Street, London, London, SE1 0NW, United Kingdom', isdefault: true }; geocoder.getLatLng ( address_0.full, function(point) { if(point) { map.setCenter(point, 13); var marker = new GMarker(point, icon); GEvent.addListener(marker, 'click', function() { marker.openInfoWindowHtml(address_0.infowindowtext); }); map.addOverlay(marker); marker.openInfoWindowHtml(address_0.infowindowtext); } else { map.setCenter(new GLatLng(37.4419, -122.1419), 13); } } ); } }