On Apr 23, 10:21 am, "[email protected]" <[email protected]>
wrote:
> On Apr 23, 6:55 am, stevem <[email protected]> wrote:
>
> > The problem is that I modify the polyline from the google results and
> > would like to be able to save the polyline with the modifications.
>
> > I thought there might be a way to put the modified string into an API
> > function that would spit out the polyline similar to using an encoded
> > polyline similar to
> > GPolyline.fromEncoded()
>
> The only way I know how to do it is to start from one of the examples
> of draggable directions in the API. Then capture the polyline from
> there.
>
> I have an example of non-draggable GDirections which allows me to
> capture the polyline as either unencoded or
> encoded:http://www.geocodezip.com/example_geo2.asp
>
> -- Larry
>
>
>
> > On Apr 23, 9:11 am, Mike Williams <[email protected]> wrote:
>
> > > Rather than taking it from the maps.google.com page you can just use
> > > GDirections
>
> > > var gdir = new GDirections(map);
> > > gdir.load("from: Delta OH to: Swanton OH");
>
> > > --http://econym.org.uk/gmap
> > > The Blackpool Community Church Javascript Team- Hide quoted text -
>
OK thank you Larry. I will try to use the method you described.
Perhaps by adding destinations I can modify the poly line the way i
need it.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---