On Sunday, January 9, 2011 4:29:08 PM UTC-5, Rossko wrote: > > > Now, am I correct in assuming that once I have the list of points in the > > "directions polyline", the route can be re-created without issue? > > It's not guaranteed. A route will be selected according to today's > data, which may be different from yesterdays (e.g. a new road has been > incorporated) >
Actually, thanks to Larry's examples, I managed to get my proof of concept done. Build the route with directions, extract the points for the line and store in a database. Later, I read the points from the database and draw the lines. > More worrying for your case ... do you ever lay fibres along one-way > streets, or even past no-right-turn junctions? Directions may not > give you what you expect. > Using a walk route, these shouldn't present a problem. In fact, I already found out that even a divided highway can cause issues (directions wants you to make a U-turn). Besides, I can always build a route editor, placing dragable markers at each point on the line to fine tune the route if accuracy becomes a major issue. > Using the Directions service to build up a picture of the street > network is getting a bit close to abuse of the service, I would have a > close look at the Terms of Use before settling on this method in a > corporate application. Purpose of service is limited to displaying > Directions to an end-user ; storage of Directions derived data is > hedged about with restrictions. > I kinda see your point there, but while I'm using the directions service, I'm not actually generating directions. It's simply the only part of the API I've found so far that can allow a user to easily create a polyline that snaps to the streets. If you have a way to snap to streets without using Directions, I'm all ears. Here's a snip from my proof-of-concept, which shows the route I'm building. The only additional information would be things like handhole locations and strand count. (The yellow markers represent wireless access points). <https://lh5.googleusercontent.com/_41YKB13T8Ww/TSo6YVDhWpI/AAAAAAAAAKE/6O-0KmocfSM/fiber%20route-poc.JPG> -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
