Hi,

I'm having a little problem..

In my JavaScript file I have this:

        $.ajax({
           url: 'http://maps.google.com/maps/api/geocode/json?
address=' + number + ' ' + adress + ',' + city + ',' + state +
'&sensor=false',
           dataType : 'json',
           type : 'POST',
           success : function(json){
                $('#lat').val(json.results.geometry.location.lat);
                $('#lng').val(json.results.geometry.location.lng);
                }
        });

But the answer is "405 Method Not Allowed", which is weird because I
can
download the JSON by giving the url in my brownser.
So I decided change my type to 'GET', but that didn't solve my
problem.

I hope you can help me.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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-api?hl=en.

Reply via email to