On Dec 11, 9:49 pm, Ken <[email protected]> wrote:
> Hi -
>
> How can a road closure be indicated so that the driving directions
> route around it?

There are a number of inaccuracies in the UK maps, one of which
(allowing a right turn at a no-right-turn junction) impacts on my use
of driving directions. What I do in that case is test for a GStep
which turns right at that location; if there is one, I add a waypoint
which forces the route to follow the road signs, and then recalculate
the route. Unfortunately adding a waypoint produces another marker,
which I haven't had the time to work on removing. A second slight
drawback is that a re-issue of map tiles can move the position of the
GStep slightly so the code needs changing to test for that new
position.

While ashore is right that a general notification of road closures to
Google Maps wouldn't be A Good Thing, an {avoid:} option for the API
would be rather nice. In my case, I would still have to test for the
banned turn, but could avoid a point rather than add [and show, or
work to remove] a waypoint to travel through.

You can see what I do at http://www.xpeastbourne.org/map/xpmap.htm --
a suitable start address is Lewes Road, Eastbourne or Beamsley Road,
Eastbourne.

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