earthoutreach / earth-api-utility-library

Automatically exported from code.google.com/p/earth-api-utility-library
0 stars 0 forks source link

Error drawing polygon on/near poles #38

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use the polygon-edit sample 
http://earth-api-utility-library.googlecode.com/svn/trunk/extensions/examples/po
ly-edit-full.html

2. Navigate globe to the north pole
3. Draw a polygon right on top of the pole

What is the expected output? What do you see instead?
The shaded shape should match the interior area designated by the points drawn. 
 It actually looks like the line segments (that show the draggable midpoints) 
are in the correct places, but the polygon itself becomes completely 
unrecognizable.

Original issue reported on code.google.com by sunfire...@gmail.com on 12 Apr 2011 at 4:22