Select to view content in your preferred language

Bing Maps and Visual Web Developer 2010 Express

870
3
04-06-2011 04:33 AM
NaokiAgatsuma
New Contributor
Microsoft Visual Web Developer 2010 Express is crashed when I try to use Bing Maps in Silverlight API.
Anyone have any ideas?

code:
        <esri:Map Background="White" Name="MyMap" >
            <bing:TileLayer ID="BingLayer" LayerStyle="Aerial" Visible="True" ServerType="Production"
                   Token="My key" />
        </esri:Map>

My environment:
development environment???Microsoft Visual Web Developer 2010 Express
OS                                Windows XP sp3 / Windows7(64-bit)
CPU                               Intel Core i5 520M @2.4GHz / Intel Core i7 Q740 @1.73GHz 1.73GHz
memory                          1.0G/4.0G

Thanks.
0 Kudos
3 Replies
JenniferNery
Esri Regular Contributor
Thank you for reporting this. We are aware of the issue.

For the mean time, please avoid using Design time and/or set Bing.Token later.
0 Kudos
EvanBossett
Emerging Contributor
could you please provide source code for how to do this?   it's a little harder for me to figure out as my Development environment crashes randomly  while i'm trying to figure it out 🙂
0 Kudos
EvanBossett
Emerging Contributor
I got it . source is:

Dim tileLayer As ESRI.ArcGIS.Client.Bing.TileLayer = TryCast(MyMap.Layers("BingLayer"), TileLayer)
        tileLayer.Token = ""
0 Kudos