Re: [Google Maps API v2] Geocoding API Returning
Many thanks, Barry!!!
/*
Barry Hunter <barrybhunter <at> gmail.com> writes:
$.ajax({
type: "GET",
url:
"https://maps.google.com/maps/api/geocode/xml?address=
"+ZIPCode+"-0001&sensor=false",
dataType: 'xml' ,
That wont work. Can't make cross domain xml ajax calls. Browser
security prevents it.
The only type that will work is jsonp, but that is not supported by
the Google Maps APIs anyway.
If you want to use the Web Services in javascript in a webpage, you
should load the Google Maps API Javascript client, and call the APIs
via the javascript methods provided. A webpage should never call the
webservices directly
*/
--
You received this message because you are subscribed to the Google Groups "Google Maps API V2" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home