This is a migrated thread and some comments may be shown as answers.

Radmap in a OOB application

1 Answer 63 Views
Map
This is a migrated thread and some comments may be shown as answers.
Nicolas
Top achievements
Rank 1
Nicolas asked on 01 Mar 2011, 08:32 PM
Hello,

I've been searching for a while but I couldn't find a solution to my issue.
I'm developing an out of browser Silverlight application, the RadMap control does not display anything but a grey background (see the attached screenshot) when the Provider is set to the BingMapProvider, whereas it works fine with the OpenStreetMapProvider:

        <telerik:RadMap x:Name="radMap" >
            <telerik:RadMap.Provider>
                <telerik:BingMapProvider Mode="Aerial" IsLabelVisible="True" ApplicationId="myKey" />
                <!--<telerik:OpenStreetMapProvider Mode="Aerial" IsLabelVisible="True" />-->
            </telerik:RadMap.Provider>
    </telerik:RadMap>


It does not seem to be an ApplicationId issue as the bing map control works fine:

xmlns:bing="clr-namespace:Microsoft.Maps.MapControl;assembly=Microsoft.Maps.MapControl"
...
...
<bing:Map CredentialsProvider="myKey" />

Has anybody encountered this issue ?

Thanks for help,
Nicolas.


  

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 04 Mar 2011, 10:12 AM
Hi Nicolas,

This is a known problem which occurs when a Silverlight project is assigned as startup instead of Web project. As workaround you can create Web project which will be used to run your Silverlight application (if Visual Studio didn’t do it for you) and set it as startup project. Usually Visual Studio asks you to create that project when you create Silverlight solution.

Currently we have a PITS issue to fix this problem.
You can track it using the following link:
http://www.telerik.com/support/pits.aspx#/public/silverlight/4821


All the best,
Andrey Murzov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Map
Asked by
Nicolas
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or