Simple google map example

Apr 29, 2011 at 5:14 AM

Hi. can anybody give me simple example for google map?

I download last version source code. build it. add librarys to my project]and enter this code:

myMap.BaseLayer.Source = new GoogleTileSource(GoogleMapModes.SatelliteHybrid);

xaml file:

<DeepEarth:Map x:Name="myMap"/>

when I load page I see only grey page and didn't see map.

Apr 29, 2011 at 7:20 AM

Try using another GoogleMap mode, I suspect that SatelliteHybrid is not anymore provided by google, at least in the old form (I've experienced this with BruTile)

Apr 30, 2011 at 11:42 AM

I try all GoogleMap mode and nothing work.

Maybe I must enter google api code? But I didn't see any parameter for this...

Jun 15, 2011 at 1:55 PM

I think this is the same problem I'm having. Try debugging it in Out-Of-Browser mode and see what happens.

Jun 29, 2011 at 3:23 PM

Unfortunately, using Google Maps tiles without using Google's API (flash, javascript) is against their terms of service -_-

Here's a useful link about that :