android: show direction in google maps -


i developing android application use map view.

i can add point map, zoom, current location , animate point.

but how direction between 2 points?

when user click on point show direction between current location , clicked location.

thanks

but how direction between 2 points?

math. has nothing android. has little maps, even. has math.

depending on distances involved, might able away treating things plain carteisan coordinates , necessary trigonometry. on significant distance, though, curvature of earth starts play role, , math harder.

you might consider using a search engine find whatever versions of formulas use.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -