be88ex / earth-api-samples

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

Cannot draw a correct polygon crossing the 180° meridian #255

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

When drawing a polygon over the 180° meridian, longitude values have to 
jump from positive to negative values (and vice versa) twice.
The result is that polygon lines never cross the 180° meridian as it could 
be expected. Then the polygon is not rendered correctly.

The best way to understand this is to load the attached kml file.

How can I do to avoid such a behaviour ?

Thanks a lot for your help

Original issue reported on code.google.com by hernande...@free.fr on 29 May 2009 at 7:55

Attachments:

GoogleCodeExporter commented 8 years ago
See http://code.google.com/p/kml-samples/issues/detail?id=273

Original comment by api.roman.public@gmail.com on 29 May 2009 at 7:50