Hi all, I tried to do an application which will block the congestion path if it is in the shortest path between Source(A) and Destination(B).I tried to compare each vertex point in between the route with the congestion point, if it matches then i assume variable 'cong' as 1.And while drawing the route i will follow a different path which is not the shortest path.
Now the problem what i am facing is,Initially cong is 0 and while loading the gdirection object it should check the points and and return the value of cong as 1 a match between the two points.But the if condition is having some problem.How can i resolve it.Code is shown below. Red line indicates Congestion. http://roshanbharathdas.googlepages.com/vertex1.htm Click on Bapu Nagar as Source(A), and Shankar Nagar as Destination(B) Thank you, Roshan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
