2016-09-29 61 views
0

我有KML代碼將填充多邊形。我不想要多邊形填充。我有0和1,但仍顯示一個填充多邊形。多邊形的半徑大約爲10米。這是否太小,以致1.5的線寬實際上導致多邊形被填充? 這裏是KML(我把它剝離到只有1分,而不是原始來源的倍數)(這是工作,所以你應該能夠複製它,明白我的意思):KML - 多邊形填充不需要,但仍然發生

<?xml version='1.0' encoding='UTF-8'?> 
<kml xmlns='http://earth.google.com/kml/2.1'> 
<Document> 
<name> 
CO0xxxxxx 
</name> 
<open>1</open> 
<Style id='a'> 
<IconStyle> 
<Icon> 
http://maps.google.com/mapfiles/kml/paddle/grn-blank.png 
</Icon> 
</IconStyle> 
</Style> 
<Folder> 
<open>0</open> 
<name>Names</name> 
<Placemark> 
<name>WELL NO 2</name> 
<description><![CDATA[]]></description> 
<Point> 
<altitudeMode>clampToGround</altitudeMode> 
<coordinates>-107.676117, 39.586253,0</coordinates> 
</Point> 
</Placemark> 
<open>0</open> 
<name>Polygons on-off</name> 
<Placemark> 
<Style> 
<IconStyle> 
<Icon> 
<href>root://icons/palette-s.png</href> 
<x>224</x> 
<y>224</y> 
<w>32</w> 
<h>32</h> 
</Icon> 
</IconStyle> 
<PolyStyle> 
<Fill>0</Fill> 
<Outline>1</Outline> 
</PolyStyle> 
<LineStyle> 
<Color>ff0000ff</Color> 
<Width>1.5</Width> 
</LineStyle> 
</Style> 
<Polygon> 
<extrude>0</extrude> 
<altitudeMode>clampToGround</altitudeMode> 
<outerBoundaryIs> 
<LinearRing> 
<coordinates> 
-107.676029,39.586323,0 
-107.675996,39.586227,0 
-107.676085,39.586158,0 
-107.676205,39.586183,0 
-107.676238,39.586279,0 
-107.676149,39.586348,0 
-107.676029,39.586323,0 
</coordinates> 
</LinearRing> 
</outerBoundaryIs> 
</Polygon> 
</Placemark> 
</Folder> 
</Document> 
</kml> 

回答