> I cannot work out why it won't plot my marker on the location I have
> searched. I have tested the search function, and it does give me a
> result. But for some reason I am let down by:
>         var myLat = myJSONResult.results[0].geometry.location.lat;
>         var myLng = myJSONResult.results[0].geometry.location.lng;
> For some reason this returns no results.

Where in your script does anything assign any value to myJSONResult ?

Hint : you are using the wrong geocoding tool for the job.  To geocode
client-side, use the client-side geocoder provided in the Maps API
http://code.google.com/apis/maps/documentation/javascript/services.html#Geocoding

-- 
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.

Reply via email to