[GIS] KML problems on Google Maps

google mapskml

If I upload my KML file, which contains polygons and pins, to Google Maps, then most of the polygons are missing (see below).

enter image description here

To try and address this, I pasted the kml url to the Google Maps search bar and all of the polygons are now shown on the map but all the pins are missing (see below).

enter image description here

The KML file can be downloaded from here.

What should I modify in the KML source to have all polygons and pins in the same map?

Best Answer

The issue is outerBoundaryIs in the KML

"KML allows you to create Polygons with holes by designating an outer and inner boundary"

Google Earth Supports this but Google Maps API will not support this data type. It has to to be single Polygon (not multiple-part or donut polygons).

source: https://groups.google.com/forum/#!topic/kml-support-getting-started/fg62ALm4YUU