On Apr 26, 5:45 pm, "roshan.b.das" <[email protected]> wrote: > Well, now everything is working fine..and the result is shown as > below: > > http://roshanbharathdas.googlepages.com/congestion.htm
It still has problems for me. It doesn't avoid the congestion if I click too close to the ends of the congestion line. -- Larry > > Thanks for the support, > Roshan > On Apr 27, 5:18 am, Rossko <[email protected]> wrote: > > > > I think for objects you need an identity test > > > poly.getVertex(7)===points[0] > > > rather than an equality test > > > poly.getVertex(7)==points[0] > > > but that still evaluates as false. > > > > You could use > > > poly.getVertex(7).toString()==points[0].toString() > > > which does return true, but it's a bit of a hack. > > > By chance I just read about this in one of Mike's wonderful notes ... > > http://econym.org.uk/gmap/byreference.htm > > very last paragraph > > The 'hack' is indeed necessary to compare complex objects like these > > points > > > cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
