Thanks for your reply. I see that your code shows the text when the marker is clicked. In my version 2 of the API the address data appears with the marker.
http://www.micro-active.com/maps/map7.htm Can I change the v3 code (which I have now added into the map7-v3- api.htm file so that you can see it more easily) to bring up the address info with the marker when the link is clicked? http://www.micro-active.com/maps/map7-v3-api.htm In other words can the codeAddress function include the infoWindow part? Geoff function codeAddress(info) { var address = info; if (geocoder) { geocoder.geocode( { 'address': address}, function(results, status) { if (status == google.maps.GeocoderStatus.OK) { map.setCenter(results[0].geometry.location); var marker = new google.maps.Marker({ map: map, position: results[0].geometry.location }); } else { alert("Geocode was not successful for the following reason: " + status); } }); } } On Jan 22, 8:45 pm, Esa <[email protected]> wrote: > You must create the info window and set its > content.http://koti.mbnet.fi/ojalesa/boundsbox/makemarker.htm -- 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.
