1

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!

oriharel
  • 10,418
  • 14
  • 48
  • 57

1 Answers1

3

Look at my reply to question

How to draw a path on a map using kml file?

and there especially into the RouteOverlay class / draw method. Since you only want to draw a simple straight line, you probably won't need the rest of the complexity there.

Community
  • 1
  • 1
Mathias Conradt
  • 28,420
  • 21
  • 138
  • 192
  • That's the thing - I don't want to draw a simple straight line. I need a nice arc-like line to pass the feel of an airliner route. – oriharel Aug 01 '10 at 12:26
  • 1
    I see; above sample url only draws straight lines, that why I thought... anyway, how to draw a curved line - refer to http://www.tbray.org/ongoing/When/200x/2009/01/02/Android-Draw-a-Curved-Line – Mathias Conradt Aug 01 '10 at 12:40
  • @Mathias Lin - +1, great article. +1 on the original answer also. – dooburt Sep 15 '11 at 15:26