I am trying to display the geocoder address in an infonwindow, I have been able to display a button in the infowindow that will get the address and display it in the infowindow, but... When I try to load the address in the infowindow when the infowindow opens, nothing happens...
thanks for your help Nick Here is my code: google.maps.event.addListener(marker, 'click', function() { infowindow.open(map, marker); var geocoder = new google.maps.Geocoder(); geocoder.geocode({'latLng': markerLatLng}, function(results, status) { switch(status) { case google.maps.GeocoderStatus.OK: jQuery('#addressResult').html(results[0].formatted_address); break; default: jQuery('#addressResult').html('No address available.'); break; } }); }); -- 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 google-maps-js-api...@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.