[android-developers] Re: Google Maps Android GPS App

2016-03-04 Thread 'Bost' via Android Developers
I think you have to rework your requirements.
Assumed, that it is possible, to get all routes with a defined distance (on 
the route) from a given location, how many routes you will get, if your 
location is for example at the center of London? There will be a huge 
number of possible routes. By the way, to determine the distance on a 
route, you first need the route. So the distance cannot be parameter for 
determinig a route.
Regards, BO


Am Donnerstag, 3. März 2016 00:41:57 UTC+1 schrieb Simon Leen:
>
> I am working on an Android Running App and currently trying to implement a 
> user chosen distance route. 
> I have been looking with a few weeks and cant seem to find anything that 
> can help. 
> I have user location and updates working but the problem is I don't want 
> to set a defined destination. 
> I would like to be able to input a chosen distance be it 5 km and have a 
> route/multiple routes displayed with the destination being the end of the 
> distance.
> Any help would be greatly appreciated.
> Thanks
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/cbb2ac0c-9031-4641-8435-e667b13d1361%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: Google Maps Android GPS App

2016-03-03 Thread TreKing
On Thu, Mar 3, 2016 at 12:57 AM, Simon Leen 
wrote:

> Hi gjs, Thanks for the reply but without trying to sound rude that doesn't
> really help much in answering my question.
>

Well, you didn't really ask a question. You made several statements about
what you're vaguely trying to do. So what's the question? What is the exact
problem you're having?

I'm going to assume it's "how do I determine multiple valid routes of X
distance from a given point?"

Given that, vaguely, you would use the various maps APIs as gjs indicated
to:

1 - Get a list of places within an X distance radius (Places API)
2 - For each place, calculate a route to that place from the start
(Directions API)
3 - Present those routes as options to the user.

-
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 unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CANCScgh9Ow-x3ViMTjejjOe5DnwNAz9uDU-6oRh-si8K9mY%2BxA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Google Maps Android GPS App

2016-03-02 Thread Simon Leen
Hi gjs, Thanks for the reply but without trying to sound rude that doesn't 
really help much in answering my question.
I've been looking up way points, the Directions API and more but the 
problem is I can't anything that will get me on the right track.
Regards 

On Thursday, March 3, 2016 at 6:40:30 AM UTC, gjs wrote:
>
> Hi
>
> You can probably do this by also using the various maps API eg
>
> https://developers.google.com/maps/documentation/directions/intro#Waypoints
>
> Regards
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/79d4d5a6-f2fd-4244-b192-b1804b66ce6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.