[android-developers] Google Maps - MapView - draw a nice flight route between 2 points

2010-08-01 Thread oriharel
Hi,
I wonder,
how can I draw a nice flight route between 2 points on a google map's
MapView?

look at this:
http://maps.forum.nu/gm_flight_path.html

this is exactly what I need.

thanks!

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Google Maps - MapView - draw a nice flight route between 2 points

2010-08-01 Thread TreKing
On Sun, Aug 1, 2010 at 5:38 AM, oriharel ori.ha...@gmail.com wrote:

 how can I draw a nice flight route between 2 points on a googlemap's MapView?


1 - Figure out how to draw a curve using Canvas.
 (NOTE: A beautiful thing about the internet is that you can see the
source to any web page ... like the one you linked ... which shows exactly
how they're plotting points on a JavaScript Map ... which shouldn't be too
hard to port).

2 - Override one of the various draw methods in MapView or an Overlay to
draw the curve using the Canvas that's passed in and awesome logic you
borrowed from the website.

-
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en