Google 地球问题:使外部页面出现在 Google 地球中以及随后的按钮

发布于 2024-09-24 12:07:28 字数 252 浏览 4 评论 0原文

大家早上好,

我正在使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

独﹏钓一江月 2024-10-01 12:07:28

第一个问题的答案是否定的 - 除了直接加载 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文