我试图加载从我们使用的Intranet上托管公司,将这项工作一个网络服务器一个.KML?
I am trying to load a .kml from a webserver that we use to host our company intranet on, will this work?!
GE的API负载可达罚款,但目前不显示KML文件?此外,我不能似乎没有粘贴位code被错过了,任何想法,这可能是为什么?!
The GE API loads up fine but does not currently display the KML file?! Also I cant seem to paste the code without bits being missed off, any idea why this might be?!
推荐答案您使用绝对路径的资源?即192.168.1.2/whatever.kml
Are you using absolute URL to the resources? i.e. '192.168.1.2/whatever.kml'
或者尝试使用谷歌托管的KML,看看是否code不工作或KML是错误的例如:'sketchup.google/3dwarehouse/download?mid=28b27372e2016cca82bddec656c63017&rtyp=k2'
Or try to use google hosted kml to see if the code isn't working or the kml is wrong for example: 'sketchup.google/3dwarehouse/download?mid=28b27372e2016cca82bddec656c63017&rtyp=k2'
更多推荐
谷歌地球API,KML本地Web服务器上
发布评论