On Jun 23, 8:45 am, MoZo <[email protected]> wrote:
> So I need to parse geocode's parameter of the URL, to the route on
> the
> map (once it has been completed) but the problem is that it is
> encoded.

I'll reiterate what I wrote earlier:

It sounds like what you want to do is get directions at
maps.google.fr, then get the encoded polyline which is presented and
then use its values somewhere else. This is against the Terms (See
2(a), 2(b) at http://www.google.com/intl/en_us/help/terms_maps.html)

> Is there a way to be able to read/use this string "geocode =%
> FaU92gIdwgLr_w 3BFV172gIde6zq_w 3BFaty2gId2Tvq_w%%% 3BFYkx2gIdRybq_w
> 3BFXoD2gIdwB7q_w% 3B" and retrieve the coordinates of each waypoint
> to redraw the route on the map of my site ?

Since you already have the encoded string, there's nothing stopping
you using that directly, but it is against the rules. It's possible to
decode an encoded string too: 
http://facstaff.unca.edu/mcmcclur/googlemaps/encodepolyline/decode.html

You may want to investigate Marcelo's code at 
http://maps.forum.nu/gm_driving_directions2.html
which implements the functionality of draggable waypoints.

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