Display google earth picture as background

Mar 17, 2010 at 5:55 PM

hi all

Is it possible to display images as a background for the Google Earth maps displayed by sharpmap ?



Coordinator
Mar 17, 2010 at 7:13 PM

Hello moh_subaa,

Paul den Dulk just recently added a new TileLayer that does just that.

It works -preconfigured- with OpenStreetMap Tiles, Bing-Maps. If it works out of the box with google maps/earth I don't know, but perhaps the others fit your needs

Look at the WinFormsDemo project to see it work.

Hth FObermaier

Developer
Mar 18, 2010 at 10:41 AM

hi moh_subaa,

The TileLayer adds supports for several different tile sources and protocols. Here is the example in the WinFormSamples:

http://sharpmap.codeplex.com/SourceControl/changeset/view/64449#1074398

Other examples here:

http://brutile.codeplex.com/SourceControl/changeset/view/40719#689445

It is possible to get Google maps working but it is not allowed by the Google licence and involves faking the user agent and referer. For use of Bing you also need to check the license. The current Bing Provider uses the developer tile service (hence the 'staging'). There must be more free tile services available but I can't give you an overview. There are some by CloudMade, but there are some restrictions there too: http://maps.cloudmade.com/.

Paul

Developer
Mar 18, 2010 at 11:18 AM

Also interesting is the OpenAerialMap proposal. An open aerial photo service like OSM:

http://wiki.openaerialmap.org/Technical_Proposal#Catalog_server

Paul