How to display google maps in windows phone 7???


  • Hiii,,

    Can any one suggest me that how to display google maps in windows phone 7 and in windows mobile??



    Wednesday, August 25, 2010 2:30 AM

All replies

  • I believe you'll have better results using Bing Maps instead of Google maps. 

    1) First you need to download the BingMapsSilverlightControlv1.0.1Installer.msi
       installation file at
       Running the msi file will install all the relative BingMapsSilverlightControlv1.0
       dll files you need under

       C:\Bing Maps Silverlight Control

    2) Another thing you'll need to do is to create a Bing Map account in order to get a CredentialProviders Key at

    3) After you created your new Windows Phone 7 Application
       you then need add the following dll files references to your WP 7 project
        C:\Bing Maps Silverlight Control\V1\Libraries
         - Microsoft.Maps.MapControl.Common.dll
         - Microsoft.Maps.MapControl.dll
       C:\Program Files\Microsoft Silverlight\4.0.50401.0\
         - Silverlight.Web.Browser.dll

    4) Add a similar directive on top of your MainPage.xaml (or any other xaml page you wish...)


    5) Then in your XAML main ContentGrid section

       <!--ContentGrid is empty. Place new content here-->       
            <Grid x:Name="ContentGrid" Grid.Row="1">
             <m:Map x:Name="BingMap" CredentialsProvider="YourCredentialProviderKey"
                d:LayoutOverrides="Height" Loaded="BingMap_Loaded" />

    6) Then in your code behind:

       namespace WindowsPhoneAppWithBingMaps
        public partial class MainPage : PhoneApplicationPage
            public MainPage()

            private void BingMap_Loaded(object sender, RoutedEventArgs e)
                // remove the navigation visibility. 
                // This control is redundant with the multi-touch capabilities of the phone.
                this.BingMap.NavigationVisibility = System.Windows.Visibility.Collapsed;
                // removes the copyright note
                this.BingMap.CopyrightVisibility = System.Windows.Visibility.Collapsed;
                // removes the Bing logo
                this.BingMap.LogoVisibility = System.Windows.Visibility.Collapsed;

    This covers the very basics. There are of course other options you'll be able to add further on
    like adding pushpins from kml files...

    Hope this helps

    If this answers your question, please Mark as an answer. Thank you

    Wednesday, August 25, 2010 9:05 PM
  • unfortunately bing might not be the best option at all times for all latitudes and even though bing has got better in the last months coverage is not at par with google maps yet, so I hope either google or microsoft will step up to provide a similar control for gmaps



    Sunday, October 10, 2010 10:37 AM
  • Have you successfully run a Google map in a Windows Phone 7 app yet?
    I mean I haven't seen any yet... Bing map yes ... Google map no...

    If you did, then I'd be more than glad to ear about it... ;)

    Sunday, October 10, 2010 1:55 PM
  • Bing maps control + Google Maps = Real !

    look at image and here is the source

    make sure you have bing maps key => Create or view keys


    Sunday, October 10, 2010 2:49 PM
  • Re: Bing maps control + Google Maps = Real !

    That's a picture of a Bing map running in a browser :( 
    Have no problem with Bing map at this stage,,,
    What I meant was a real Google map running in a real Windows Phone 7.

    Sunday, October 10, 2010 4:39 PM
  • what a problem man?

    give source, compile and run!

    all what you need is:


    Sunday, October 10, 2010 6:18 PM
  • Well the problem is your code doesn't compile!!!

    But don't worry... already got my own Bing map application running pretty fine with KML + pushpins
    on WP7 ;)

    Sunday, October 10, 2010 10:37 PM
  • @MavashiKid:

    Are you sure that you're a programmer?

    Look at Main.xaml there is a place "PUT_YOUR_BING_KEY", where you must enter your key before you compile the program!

    p.s. i haven't WP7, so project i give you at Silverlight.

    Monday, October 11, 2010 4:21 AM
  • Deuuuuuh...  now relax kiddo?
    BTW I started in the business when you were still wearing diapers...LOOOL 

    I dealt with Google maps and I'm aware of key ...
    Want to learn about how to build real GPS application... gimme a call LOOOL

    The mains issue of the question was how to run a Google map in Windows Phone 7...

    not a how to put a single Bing map tag in Silverlight... can't you read! LOOOL 

    Monday, October 11, 2010 11:50 AM
  • dude, it's you need to relax, I do not care when you started the business, but what you do not see my REALIZATION OF BING MAPS + GOOGLE MAPS - tells me that you do not understand what are you talking about, let's reread my posts above!

    you do not need a Google Key, you need Bing Key - it is two different services.

    Monday, October 11, 2010 1:09 PM
  • p.s. i haven't WP7, so project i give you at Silverlight.

    Yes, I can confirm the same code also works in WP7. Basically the idea is to get the map image (for the same location) from Google and add it to the Bing map control as a tile layer.

    Monday, October 11, 2010 2:20 PM
  • @MawashiKid:

    code still not working or it is impossible ?


    hey, i answered your question, mark as answer

    Tuesday, October 12, 2010 12:15 PM
  • Hi Bykinag,

    The provided solution crashes after around a second or is extensively slow. Bing maps in this case is the way to go.



    Saturday, October 16, 2010 6:54 PM
  • Re: GoldDark

    The provided solution crashes after around a second or is extensively slow. Bing maps in this case is the way to go.

    I would have to agree on that... ran the code... same thing... blurry, out of sync and extensively slow.
    and it's not even running with KML data yet. Soooooo...

    I dealt a lot with Google maps in the past though I came to realize using tile layer method might not
    be the best option in the case of Windows Phone 7 GPS app.   

    Therefore I totally agree with you GoldDarkBing map is a much better choice in the case of WP 7.
    Also I guess we ought to give the runner a chance in the case of Bing map.

    BTW Have you tried VanGuide for Windows Phone 7 on Codeplex?

    Nice little performing app done by our folks here  ;)  


    Saturday, October 16, 2010 7:49 PM
  • Thanks for the sample.

    Is there any way to add a custom logo into the map instead of Bing logo?

    Friday, June 17, 2011 5:45 AM
  • Thanks MawashiKid

    Wednesday, June 22, 2011 8:42 AM
  • Thank you, bykinaq! Very good solution. This is what I was looking for. =)

    Wednesday, February 08, 2012 12:59 AM