简体   繁体   English

KMZ文件在Google地球中加载,但不在Google地图中加载

[英]KMZ files load in Google Earth, but not Google Maps

I need to be able to load some KML and KMZ files into Google Maps. 我需要能够将一些KML和KMZ文件加载到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. 我正在使用的文件在Google地球中显示没有问题,但是当我尝试在Google地图中上传文件时,该文件似乎上传但不显示任何内容。

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. KMZ文件http://www.ec.gc.ca/inrp-npri/default.asp?lang=en&n=1D892B9F-1(2010年 ,2009年或1993-2010文件)似乎上传得很好,但是它不会在地图上显示任何点。 There should be multicoloured dots all across Canada, but none show up. 整个加拿大都应该有五彩斑点,但都没有出现。 The files are smaller than 10MB also. 文件也小于10MB。

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. 我试图将公共URL粘贴到搜索框而不是导入,但是当我导入文件时会出现同样的问题。 What has to be done to allow me to display them in Google Maps? 要让我在Google地图中显示它们需要做些什么?

Thanks 谢谢

The problem is that in this case, the KMLs use a ListStyle which creates the radio button interface you see in Google Earth. 问题是在这种情况下,KML使用ListStyle创建您在Google Earth中看到的单选按钮界面。 But that's not supported in Google Maps: https://developers.google.com/kml/documentation/kmlelementsinmaps 但Google地图不支持此功能: https//developers.google.com/kml/documentation/kmlelementsinmaps

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM