Wasn't it kostas who wrote: > if (point1.distanceFrom(point2) <= standard distance)
I'd expect you to get a Javascript error in your error console for a missing ")" before "distance". Two variables separated by a space doesn't mean anything in Javascript. That's assuming that all your variables, like "point1", "point2" and "standard" are defined and in scope. -- http://econym.org.uk/gmap The Blackpool Community Church Javascript Team --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
