zerophreak
zerophreak

Reputation: 294

Google Maps API: How to draw "curved" flight route polygon line between two markers?

Is there any easy way or additional API to draw a curved polygon line fitting to the map projection of the earth? I can only draw a normal line, but not a curved one.

Upvotes: 2

Views: 1756

Answers (2)

Dr.Molle
Dr.Molle

Reputation: 117354

set the geodesic-property of the Polyline to true

Upvotes: 2

Cybercartel
Cybercartel

Reputation: 12592

You can use a great circle route because the earth is a sphere:https://uk.answers.yahoo.com/question/index?qid=20080128153829AAJPuku. It appears automatically curved:http://nationalatlas.gov/articles/mapping/IMAGES/2mercators.gif.

Upvotes: 0

Related Questions