谷歌地球API,KML本地Web服务器上 [英] Google Earth API, KML on local Web Server

查看:1435
本文介绍了谷歌地球API,KML本地Web服务器上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图加载从我们使用的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?!

推荐答案

您使用绝对路径的资源?即
http://192.168.1.2/whatever.kml

Are you using absolute URL to the resources? i.e. 'http://192.168.1.2/whatever.kml'

或者尝试使用谷歌托管的KML,看看是否code不工作或KML是错误的
例如:
'http://sketchup.google.com/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: 'http://sketchup.google.com/3dwarehouse/download?mid=28b27372e2016cca82bddec656c63017&rtyp=k2'

这篇关于谷歌地球API,KML本地Web服务器上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆