how do you find a mid point using google maps API in android ? I want the mid point along the route. Something like if a person starts moving from point A and if we stop him at 50% of the total distance, then we can obtain the mid-point along the route. So, how to do it in android?
Asked
Active
Viewed 212 times
0
-
Did you try anything? – Phantômaxx Mar 23 '15 at 12:49
-
are u using google map api 3?? – Setu Kumar Basak Mar 23 '15 at 13:00
-
@DerGolem yes, at first I tried it by calculating the total distance and dividing it by 2. But, the result is not right. – Nauman Mar 23 '15 at 13:22
-
@setubasak no i am working on api 2 – Nauman Mar 23 '15 at 13:23
-
You can see this [link](http://stackoverflow.com/questions/23176555/midpoint-of-route-in-google-maps).It's in javascript.You can take the concept and convert it to java.Hope it helps. – Setu Kumar Basak Mar 23 '15 at 13:07