On Feb 12, 5:52 pm, kostas <[email protected]> wrote:
>
> however it's not working.. I suppose there is a problem with the
> comparison ..Any ideas to make it work??

That may be the reason, but a code snippet isn't really enough. What
are point1 and point2? What do you expect the distance to be? What is
"standard distance"? You can't have a two-word variable name, so
"standard distance" won't work. What do mean by "it's not working"?
Have you tried adding an alert or GLog.write inside your success-block
to test whether it's being reached? Have you checked what the
distanceFrom() call actually returns? [Hint: check the first sentence
of the description in the documentation
http://code.google.com/apis/maps/documentation/reference.html#GLatLng.distanceFrom]

> P.S : A link is not available, since this task is part of my
> University thesis..

So you have a Premier licence, and you can ask your Google support
contact. If you don't have a Premier key, you must have a public map,
and you can give a link here (or a link to a simplified anonymous
example if you don't want the *real* values of point1 and point2 made
public).

But I expect reading the documentation will tell you what's going
wrong.

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