On Sep 7, 10:56 am, Hrishikesh Kowjalgi <[email protected]> wrote:
> hi guys...there is not a single road,i want to make this generalised...so
> polygon with
> edit mode will be of no use..

That makes it far more complicated. I would investigate using
GDirections to get the route of the road, possibly using something
like http://econym.org.uk/gmap/example_multi2.htm. Then you could
create a buffer zone polygon around the line; or you could simply test
how far the vehicle is from the nearest point on the line -- if it's
more than 20m it's probably left the route.

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