Pergunta

I need to be able to load some KML and KMZ files into Google Maps. The files that I'm working with display without an issue in Google Earth, but when I try to upload them in Google Maps, the file seemingly uploads but doesn't display anything.

The KMZ files at http://www.ec.gc.ca/inrp-npri/default.asp?lang=en&n=1D892B9F-1 (either the 2010, 2009 or the 1993-2010 files) seem to upload fine, but it doesn't display any points on the map. There should be multicoloured dots all across Canada, but none show up. The files are smaller than 10MB also.

I have tried to paste a public URL into the search box instead of importing, but the same issues arise as when I import the files. What has to be done to allow me to display them in Google Maps?

Thanks

Foi útil?

Solução

The problem is that in this case, the KMLs use a ListStyle which creates the radio button interface you see in Google Earth. But that's not supported in Google Maps: https://developers.google.com/kml/documentation/kmlelementsinmaps

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top