On Sep 16, 9:24 am, Rossko <[email protected]> wrote: > > I'm looking for a solution to draw 2,000 gDirection calls on the same > > map using begin and ending zip codes. > > Why? What benefit would there be to the viewer, over an ordinary road > map? > > > To speed up this process is it possible to process the 2,000 > > gdirections and store the polyline coords to a text file. Then just > > have the map draw the polylines from the coords in the text file. > > Yes, it's possible. You should consult the terms of use to see if it > is allowed (I think it is - temporarily). You might want to > periodically repeat anyway, as driving routes do change. > > > Does anyone have a sample of converting gdirections to coords and then > > drawing a polyline with the api from those coords. > > http://econym.org.uk/gmap/steps.htm
http://www.geocodezip.com/example_geo2.asp?addr1=(32.54281,-117.02993)&addr2=(42.00547,-122.61535)&geocode=1&geocode=2 click on the "get polyline xml" button This is that file (generated with the "encoded" checkbox checked), loaded into my GenericMapBrowser: http://www.geocodezip.com/GenericMapBrowser.asp?filename=I5Polyline_encoded.xml -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
