I have a KML file which used to display correctly in both Google Maps and Google Earth. Now Google Maps rejects the file, while Earth still accepts it and displays the content. Here is the file:
http://www.skiforeningen.no/marka/kml/milorg.kml
The Galdos Validator at http://www.kmlvalidator.com/ indicates the following error on line 19:
cvc-complex-type.2.4.a: Invalid content was found starting with element 'IconStyle'. One of '{"http://www.opengis.net/kml/2.2":PolyStyle, "http://www.opengis.net/kml/2.2":BalloonStyle, "http://www.opengis.net/kml/2.2":ListStyle, "http://www.opengis.net/kml/2.2":StyleSimpleExtensionGroup, "http://www.opengis.net/kml/2.2":StyleObjectExtensionGroup}' is expected.
But when reading the documentation at
https://developers.google.com/kml/documentation/kmlreference#style
I can't see why IconStyle is not allowed her? Also, the validator at http://feedvalidator.org/ validates the file with no errors and says it is a valid KML 2.2 feed.
Any help will be highly appreciated, thanks.