# Google Earth View on WPF application

**URL:** <https://community.thinkgeo.com/t/google-earth-view-on-wpf-application/3217>\
**Category:** WPF\
**Created:** [May 18, 2012, 3:40pm UTC](https://community.thinkgeo.com/t/google-earth-view-on-wpf-application/3217 "2012-05-18T15:40:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![GS1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@GS1](https://community.thinkgeo.com/u/GS1)\
**Post date:** [May 18, 2012, 3:40pm UTC](https://community.thinkgeo.com/t/google-earth-view-on-wpf-application/3217/1 "2012-05-18T15:40:53Z")

</div>

&nbsp;

&nbsp;Hello&nbsp;ThinkGeo,

Using&nbsp;Google&nbsp;Overlay&nbsp;Switcher,&nbsp;we&nbsp;had&nbsp;implemented&nbsp;GoogleEarth&nbsp;Hybrid&nbsp;View&nbsp;and&nbsp;ThinkGeo&nbsp;view&nbsp;&nbsp;on&nbsp;Web&nbsp;application&nbsp;(to&nbsp;switch&nbsp;Google&nbsp;/ThinkGeo&nbsp;maps&nbsp;vice&nbsp;versa),&nbsp;and&nbsp;we&nbsp;registered&nbsp;free&nbsp;key&nbsp;from&nbsp;google&nbsp;website.I&nbsp;don't&nbsp;know&nbsp;how&nbsp;to&nbsp;achieve&nbsp;same&nbsp;on&nbsp;WPF&nbsp;application??&nbsp;For&nbsp;each&nbsp;PC,&nbsp;&nbsp;do&nbsp;I&nbsp;need&nbsp;to&nbsp;get&nbsp;key&nbsp;from&nbsp;google&nbsp;??&nbsp;I&nbsp;have&nbsp;no&nbsp;idea...

&nbsp;

&nbsp;In&nbsp;Web&nbsp;there&nbsp;is&nbsp;a&nbsp;lot&nbsp;of&nbsp;control&nbsp;using&nbsp;JavaScript&nbsp;and/or&nbsp;JSON&nbsp;scripting&nbsp;API&nbsp;.So,&nbsp;Do&nbsp;you&nbsp;have&nbsp;same&nbsp;rich&nbsp;functionality&nbsp;and&nbsp;classess&nbsp;implemented&nbsp;on&nbsp;WPF&nbsp;Google&nbsp;Overlay'&nbsp;?&nbsp;Appreciate,&nbsp;&nbsp;if&nbsp;&nbsp;you&nbsp;can&nbsp;send&nbsp;any&nbsp;sample&nbsp;working&nbsp;application

&nbsp;

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![GS1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@GS1](https://community.thinkgeo.com/u/GS1)\
**Post date:** [May 21, 2012, 8:29pm UTC](https://community.thinkgeo.com/t/google-earth-view-on-wpf-application/3217/2 "2012-05-21T20:29:23Z")

</div>

&nbsp;Hello&nbsp;thinkgeo,

&nbsp;

Will&nbsp;someone&nbsp;respond&nbsp;to&nbsp;my&nbsp;question??

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [May 25, 2012, 1:19pm UTC](https://community.thinkgeo.com/t/google-earth-view-on-wpf-application/3217/3 "2012-05-25T13:19:22Z")

</div>

Srikanth,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Sorry&nbsp;for&nbsp;delay,&nbsp;we&nbsp;have&nbsp;just&nbsp;released&nbsp;the&nbsp;new&nbsp;version&nbsp;of&nbsp;MapSuite&nbsp;all&nbsp;products&nbsp;6.0,&nbsp;so&nbsp;that&nbsp;there&nbsp;are&nbsp;too&nbsp;many&nbsp;users&nbsp;ask&nbsp;questions&nbsp;on&nbsp;the&nbsp;forum&nbsp;want&nbsp;to&nbsp;know&nbsp;how&nbsp;to&nbsp;user&nbsp;MapSuite&nbsp;API.&nbsp;  
&nbsp;&nbsp;  
&nbsp;About&nbsp;your&nbsp;question,&nbsp;basically,&nbsp;GoogleOverlay&nbsp;on&nbsp;web&nbsp;is&nbsp;totally&nbsp;working&nbsp;different&nbsp;way&nbsp;as&nbsp;of&nbsp;Wpf,&nbsp;one&nbsp;is&nbsp;using&nbsp;Google&nbsp;JavaScript&nbsp;API,&nbsp;the&nbsp;other&nbsp;is&nbsp;using&nbsp;Google&nbsp;static&nbsp;API,&nbsp;for&nbsp;difference&nbsp;between&nbsp;them,&nbsp;you&nbsp;can&nbsp;easy&nbsp;to&nbsp;find&nbsp;out&nbsp;at&nbsp;Google&nbsp;website.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Let&nbsp;me&nbsp;know&nbsp;if&nbsp;you&nbsp;have&nbsp;more&nbsp;questions.&nbsp;  
&nbsp;Thanks,&nbsp;  
&nbsp;James

---

<div class="post-metadata">

**Author:** ![GS1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@GS1](https://community.thinkgeo.com/u/GS1)\
**Post date:** [May 25, 2012, 3:41pm UTC](https://community.thinkgeo.com/t/google-earth-view-on-wpf-application/3217/4 "2012-05-25T15:41:09Z")

</div>

&nbsp;No&nbsp;problem...I&nbsp;can&nbsp;understand.&nbsp;Can&nbsp;you&nbsp;provide&nbsp;any&nbsp;sample&nbsp;application&nbsp;on&nbsp;WPF&nbsp;application???how&nbsp;about&nbsp;registration&nbsp;keys&nbsp;on&nbsp;WPF&nbsp;application&nbsp;and&nbsp;how&nbsp;this&nbsp;works&nbsp;on&nbsp;WPF&nbsp;application???

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [May 29, 2012, 2:12pm UTC](https://community.thinkgeo.com/t/google-earth-view-on-wpf-application/3217/5 "2012-05-29T14:12:24Z")

</div>

&nbsp;Srikanth,

The&nbsp;sample&nbsp;code&nbsp;is&nbsp;below,&nbsp;you&nbsp;don't&nbsp;need&nbsp;to&nbsp;use&nbsp;registration&nbsp;key,&nbsp;but&nbsp;if&nbsp;you&nbsp;have,&nbsp;you&nbsp;can&nbsp;pass&nbsp;into&nbsp;construtor&nbsp;of&nbsp;GoogleMapLayer&nbsp;as&nbsp;parameter.

` wpfMap1.MapUnit = GeographyUnit.Meter;            wpfMap1.CurrentExtent = new RectangleShape(-10000000, 10000000, 10000000, -10000000);            LayerOverlay worldOverlay = new LayerOverlay();            GoogleMapsLayer worldLayer = new GoogleMapsLayer();            worldOverlay.Layers.Add("WorldLayer", worldLayer);            wpfMap1.Overlays.Add("WorldOverlay", worldOverlay);            wpfMap1.Refresh();`

Thanks,

James&nbsp;

---

<div class="post-metadata">

**Author:** ![GS1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/4491bb/32.png) [@GS1](https://community.thinkgeo.com/u/GS1)\
**Post date:** [June 12, 2012, 6:44pm UTC](https://community.thinkgeo.com/t/google-earth-view-on-wpf-application/3217/6 "2012-06-12T18:44:30Z")

</div>

&nbsp;Thanks&nbsp;James.I&nbsp;will&nbsp;try&nbsp;and&nbsp;let&nbsp;you&nbsp;know

---

<div class="post-metadata">

**Author:** ![Gary2](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/g/49beb7/32.png) [@Gary2](https://community.thinkgeo.com/u/Gary2)\
**Post date:** [June 13, 2012, 7:31pm UTC](https://community.thinkgeo.com/t/google-earth-view-on-wpf-application/3217/7 "2012-06-13T19:31:05Z")

</div>

Hello&nbsp;Srikanth,&nbsp;  
&nbsp;&nbsp;  
&nbsp;You&nbsp;are&nbsp;welcome,&nbsp;just&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;us&nbsp;know&nbsp;your&nbsp;problems.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Gary
