On Dec 22, 12:38 pm, katy <[email protected]> wrote:
>
> The Elevation API documentation indicates that you can pass an encoded
> polyline as part of the path argument in the URL but I'm having such a
> hard time with this I'm thinking maybe you can't.  Any ideas?

You can.

But you need path=enc: to tell the API it's an encoded path, as stated
in the docs http://code.google.com/apis/maps/documentation/elevation/#Paths.
And in URLs you don't need double-backslashes. They are *only* needed
when you are defining strings in Javascript with code like var
line="..."

Encoding special characters may or may not be necessary. It doesn't do
any harm and may help quoting a URL here:

http://maps.googleapis.com/maps/api/elevation/json?path=enc%3AqzgnFvi%7BsM_%40%5C&samples=7&sensor=false

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