Thanks, Rossko! 2011/11/21 Rossko <[email protected]>
> > results[0].geometry.location.LatLng.lat() =* undefined* > > results[0].geometry.location is a LatLng object already. > It doesn't have a LatLng method or property. > Try results[0].geometry.location.lat() > > Also note your 'map' variable is locally defined within your init() > function, and won't be available to your geocoding callback when the > results come back later. Put it in global scope, perhaps. > > -- > 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. > > -- 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.
