I'm working on a custom Google Map using API v3. I'm creating my KML files in Google Earth, uploading to Maps and then accessing the KML from there. I'm having problems matching polygon colours to the defaults in Maps – everything looks fine in Earth, but when viewing it on google maps, the colours have shifted.
How the KML looks on Google Earth:
How the KML looks on Google Maps:
You can download the KML here.
KML file.
Is anyone can help me with this issue?
Best Answer
The problem is the KML structure. Google Earth more flexible with the KML structure when Google Maps doesn't.
All the "Style" tags should be inside the "Document" tag and outside the "Folder" tag.
Here's a short KML example: