让 Google 地球与 Silverlight 配合使用?
是否可以将 Google 地球集成到 Silverlight 应用程序中?我尝试过在 Google 上搜索,但我能找到的最佳结果是 2008 年的论坛帖子,这些帖子充其量是不确定的。
Is it possible to have Google Earth integrated into a Silverlight app? I've tried searching on Google but the best results I could find were forum posts from 2008 which were uncertain at best.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不认为有任何直接的方法可以从 Silverlight 应用程序中使用 Google Earth。即使您可以让它工作,您实际上也无法控制该程序的 Google Earth 部分,因为据我所知,它并不是设计用于托管在其他应用程序中的。
但是,如果您想要的是 Silverlight 应用程序中的 2D/3D GIS(地理信息系统),则 Google 地球的替代方案是 Bing Maps Silverlight 控件。它已经与 Silverlight 兼容,具有完整的 2D/3D API,并提供一些与 Google Earth 相同的功能。
以下是有关 Bing 地图 Silverlight 控件的两个链接:
我记得,您必须申请免费许可证才能使用它,并且有一些限制。请仔细阅读许可证。
I don't believe there is any straightforward way to utilize Google Earth from a Silverlight application. And even if you could get it to work, you would have practically no control over the Google Earth portion of the program since, to my knowledge, it is not designed to be hosted in other applications.
However, if what you want is a 2D/3D GIS (Geographic Information System) inside your Silverlight application, an alternative to Google Earth is the Bing Maps Silverlight Control. This is already Silverlight compatible, has a full 2D/3D API and provides some of the same features as Google Earth.
Here are two links about the Bing Maps Silverlight Control:
As I recall, you have to apply for a free license to use this and there are some restrictions. Please read the license carefully.
请参阅以下链接:
但是,确实存在一些法律问题因为 Google 已禁止在其提供的 API 之外使用 Google 地图。正如第一个链接中指出的:
Please refer to the following links:
However, there do exists some legal issues as Google has prohibit the use of Google Map outside of their supplied API. As pointed in the first link: