Google 地球问题:使外部页面出现在 Google 地球中以及随后的按钮
大家早上好,
我正在使用 Google 地球开发一个应用程序,我有两个问题。
第一个问题涉及弹出窗口。我想让一个外部网站出现在这个气泡中。我可以将网站硬编码到地标的描述中,也可以使用 iFrame。我可以使用任何其他选项将网站纳入 Google 地球吗?
第二个问题:我想确保用户在使用我的 kml 时始终可以访问某些按钮。有没有一种方法无需每隔几秒钟查询一次 Web 应用程序即可确保该按钮对用户保持可用?
感谢您抽出时间。
Good morning, eveyrone
I'm working on an application using Google Earth and I had two questions.
The first question involves the pop up window. I want to get an external website to appear in this bubble. I can either hardcode the website into the description of the placemark or use an iFrame. Are there any other options I can use to get a website into Google Earth?
Second question: I want to ensure that the user, at all times while using my kml, has access to certain buttons. Is there a way without querying web application every few seconds to ensure that the button remains available to the user?
Thank you for your time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
第一个问题的答案是否定的 - 除了直接加载 html 或使用 IFRAME 之外,没有办法在内容气球中显示标记。
我不确定你的第二个问题是什么意思,你是使用 Google 地球插件开发基于 Web 的应用程序,还是在 google 地球应用程序中使用 kml 层。无论哪种方式,您都不必查询任何内容来确保按钮可见。
The answer to you first question is no - other than loading the html directly or using an IFRAME there is no way to display markup in the content balloons.
I am not sure what you mean in you second question, are you developing a web-based application using the Google Earth Plugin - or a kml layer for use in the google earth application. Either way you should not have to query anything to make sure a button is visible.