# GoogleMapOverlay

**URL:** <https://community.thinkgeo.com/t/googlemapoverlay/1598>\
**Category:** WinForms\
**Created:** [February 17, 2011, 9:03pm UTC](https://community.thinkgeo.com/t/googlemapoverlay/1598 "2011-02-17T21:03:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![David9](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/david9/32/24954_2.png) [@David9](https://community.thinkgeo.com/u/David9)\
**Post date:** [February 17, 2011, 9:03pm UTC](https://community.thinkgeo.com/t/googlemapoverlay/1598/1 "2011-02-17T21:03:10Z")

</div>

&nbsp;Do&nbsp;you&nbsp;guys&nbsp;have&nbsp;an&nbsp;example&nbsp;app&nbsp;showing&nbsp;how&nbsp;to&nbsp;use&nbsp;the&nbsp;GoogleMapOverlay&nbsp;for&nbsp;the&nbsp;Desktop&nbsp;Edition&nbsp;4.5?&nbsp;&nbsp;I&nbsp;thought&nbsp;Ii&nbsp;saw&nbsp;one&nbsp;once,&nbsp;but&nbsp;I&nbsp;can't&nbsp;seem&nbsp;to&nbsp;find&nbsp;it&nbsp;again...

Dave

---

<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:** [February 18, 2011, 1:50am UTC](https://community.thinkgeo.com/t/googlemapoverlay/1598/2 "2011-02-18T01:50:38Z")

</div>

David,

&nbsp;

Here&nbsp;it&nbsp;is:

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;GoogleMapsOverlay&nbsp;googleOverlay&nbsp;=&nbsp;new&nbsp;GoogleMapsOverlay();

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;winformsMap1.Overlays.Add(googleOverlay);

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;winformsMap1.MapUnit&nbsp;=&nbsp;GeographyUnit.Meter;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;winformsMap1.BackgroundOverlay.BackgroundBrush&nbsp;=&nbsp;new&nbsp;GeoSolidBrush(GeoColor.GeographicColors.ShallowOcean);

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;winformsMap1.CurrentExtent&nbsp;=&nbsp;new&nbsp;RectangleShape(-10000000,&nbsp;10000000,&nbsp;10000000,&nbsp;-10000000);

&nbsp;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;winformsMap1.Refresh();

&nbsp;

Thanks,

&nbsp;

James

&nbsp;
