Select to view content in your preferred language

how to use bing map in wpf application using arcgis api for WPF

687
2
06-04-2010 11:52 PM
SolidSmoke
Emerging Contributor
Please anyone advise me how to use bing map in wpf application using arcgis api for WPF
0 Kudos
2 Replies
DominiqueBroux
Esri Frequent Contributor
1) Get a bing token at  http://www.bingmapsportal.com
2) Insert a Bing TileLayer in your map
 <esriBing:TileLayer LayerStyle="<your expected style>" Token="<your token>"/>
0 Kudos
TylerMunn
Emerging Contributor
1) Get a bing token at  http://www.bingmapsportal.com
2) Insert a Bing TileLayer in your map
 <esriBing:TileLayer LayerStyle="<your expected style>" Token="<your token>"/>


Id rather quote than start a new thread, hopefully someone can help my hopefully easy fix.

I copied the example from ESRI on using the Bing maps service, and am getting the error "A value of type 'TileLayer' cannot be added to a collection or dictionary of type 'LayerCollection'.

I am able to get Bing Maps to appear correctly on a browser using the code copied & pasted from the Bing SDK site.
0 Kudos