根據winding reversal tool,POL_adm0.kml中的所有多邊形均以負方向卷繞。
name Poland
outer -0.000029027214395682677
outer -0.00011758931589156418
outer -0.00004442846750407625
outer -0.0011201874443713677
outer -0.00001914283006954065
outer -0.0002913248119966738
outer -0.000060512058212225384
outer -0.0055139375892849785
outer -0.000024386593850067584
outer -0.000016341876744263573
outer -0.00001358358349534683
outer -0.00022344898320625362
outer -0.010447627167081919
outer -0.0026826606504073425
outer -0.07199650440122696
outer -0.00004660667070766067
outer -0.007425361581113066
outer -81.8301486672533
所有你需要做的就是添加一個outerBoundaryIs是風在相反的方向,改變所有現有outerBoundaryIs標籤innerBoundaryIs標籤。這裏是一個<outerBoundaryIs>
,在正確的方向蜿蜒:
<outerBoundaryIs><LinearRing><coordinates>
180,85 90,85 0,85 -90,85 -180,85 -180,0 -180,-85 -90,-85 0,-85 90,-85 180,-85 180,0 180,85
</coordinates></LinearRing></outerBoundaryIs>
Updated KMZ file (displayed on a Google Maps Javascript API v3 map)

注:它與本地谷歌地圖多邊形(在geoxml3),但與KmlLayer。
您嘗試反轉的文件在哪裏? – geocodezip
我從http://www.gadm.org/country> Poland> Goole Earth .kmz下載文件,並將其下載到kml文件。 – marudka
您是否試過閱讀此文? http://stackoverflow.com/questions/2811223/can-i-show-a-single-country-masked-out-in-googlemaps –