> I updated the code with changes you requested. Now all the script
> looks running well, but still no marker on the map.

In your new callback -
   var locationArea = results[0].geometry.location.lat()+", "+results
you make a string, then
    var storeArea = new google.maps.LatLng(locationArea);
LatLng expects to be given two numbers, not one string.

Have you considered using results[0].geometry.location directly as
this is already a LatLng ?
http://code.google.com/apis/maps/documentation/javascript/services.html#GeocodingResults

The next problem might be with trying to reference a function before
you have declared it (depending on your browser)
    service.search(request, callback);
    function callback(results, 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.

Reply via email to