Chad, I think I have got it!
http://www.micro-active.com/maps/map7-v3-api-4.htm See anything wrong with following? Cheers geoff function codeAddress(info) { address = info; if (infowindow) { infowindow.setContent(address); } else { infowindow = new google.maps.InfoWindow({ content: address }); } if (geocoder) { geocoder.geocode( { 'address': address}, function (results,status) { if (status == google.maps.GeocoderStatus.OK) { map.setCenter(results[0].geometry.location); if(marker) { marker.setPosition(results[0].geometry.location); } else { marker = new google.maps.Marker({ map: map, position: results[0].geometry.location }); } infowindow.open(map,marker); } else { alert("Geocode was not successful for the following reason:" + status); } }); } } -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
