V3 has an Elevation Service, which is implemented using JSONP with a
callback parameter. Have a look with Firebug to see how it works.  But
I guess from now on all new Maps API features like the Elevation
Service will only be implemented in V3, not V2.


On May 8, 4:33 am, John Maurer <[email protected]> wrote:
> On May 7, 12:37 am, Andrew Leach <[email protected]>
> wrote:
>
> > William explains how to use pure JSON data in this 
> > post:http://groups.google.com/group/google-maps-api/msg/590ca0696069f3b4
>
> Thanks, Andrew, but this pertains only to JSON, not JSONP, nor does it
> address the Elevation Service. William's explanation uses GDownloadUrl
> for retrieving JSON from his own server. To retrieve JSON from another/
> remote server, that server needs to have enabled JSONP (JSON with
> Padding), which allows the client to specify a callback function for
> handling the results. GDownloadUrl will not work with remote requests,
> like calling Google's Elevation Service.
>
> Anybody else have an idea?
>
> --
> 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 
> athttp://groups.google.com/group/google-maps-api?hl=en.

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