Geodesic Polylines on Google Maps
What is Geodesic? Quoting Google Maps API Blog
A geodesic line is the shortest route between two points on the surface of the earth, and often resembles the path that airplanes take to get you to your destination in the most efficient manner.Google Maps API has been updated so you can now create Geodesic Polyline. I decided to give it a try by adding the optional parameter {geodesic:true} as follows:
new GPolyline(points,"#ff0000", 3, 1,{geodesic:true});
Example: (My aboutme page)
Example: Andrew Speaker's Risky Trip
Labels: Google_Maps_API, GoogleMaps_2007_July_Aug
0 Comments:
Post a Comment
<< Home