简体   繁体   English

适用于geckofx的Google Earth插件

[英]Google Earth plug-in for geckofx

I use geckofx-10 (with xulrunner 10.0.2) in .Net4 winform. 我在.Net4 Winform中使用geckofx-10(带有xulrunner 10.0.2)。
I load Google Maps: 我加载了Google地图:

http://maps.google.com/maps?hl=en&tab=wl

This work only for Street & Satellite maps and Google Earth doesn't exist. 此功能仅适用于街道和卫星地图,并且不存在Google Earth。
How add GE plug-in and active it? 如何添加GE插件并激活它?

Presuming you have the Google Earth Plugin installed then you would just need to create your own implementation of Google Maps and then load that into your browser control. 假设您已经安装了Google Earth插件,则只需创建自己的Google Maps实现,然后将其加载到浏览器控件中即可。

You can use this utility library to do that with version 3 of the maps api http://code.google.com/p/google-maps-utility-library-v3/ 您可以使用此实用程序库通过第3版的地图api http://code.google.com/p/google-maps-utility-library-v3/

There is a working example of Map/Earth integration here: http://google-maps-utility-library-v3.googlecode.com/svn/trunk/googleearth/examples/earth.html 这里有一个“地图/地球集成”的有效示例: http : //google-maps-utility-library-v3.googlecode.com/svn/trunk/googleearth/examples/earth.html

Maybe this is too late answer, but it may be useful for another users... 也许这为时已晚,但是对其他用户可能有用。

I tried another version of GeckoFX 1.9.1.0 (with XulRunner 3.6.26.) in .Net 4 Framework and it didn't work for me like you. 我在.Net 4 Framework中尝试了另一个版本的GeckoFX 1.9.1.0(与XulRunner 3.6.26。),但它对您不起作用。 So i decided to use static Google Maps and it worked like a charm. 因此,我决定使用静态Google Maps,它的魅力十足。

https://developers.google.com/maps/documentation/staticmaps/?csw=1 https://developers.google.com/maps/documentation/staticmaps/?csw=1

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM