Thursday, December 1, 2011

[android-developers] Re: how do i know if i am on road between two points in android

Hi,

This might help http://www.movable-type.co.uk/scripts/latlong.html

Regards

On Dec 2, 12:10 pm, TreKing <treking...@gmail.com> wrote:
> On Thu, Dec 1, 2011 at 5:49 AM, PaulH <paul.harti...@gmail.com> wrote:
> > how can I check if my current location is in the zone if I have only the
> > start point and end point?
>
> If you're saying you have a set of points that define these "zoned roads",
> than some basic math will allow you to find the nearest points to your
> location and the distance to the line formed by those points. This of
> course has nothing to do with Android specifically.
>
> --------------------------------------------------------------------------- ----------------------
> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
> transit tracking app for Android-powered devices

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment