You cannot pick individual layers from a cached service.If you want to only show a specific sublayer, you should use the ArcGISDynamicMapServiceLayer instead and set the VisibleIds to int[] { 30 }.
What error message do you get? ArcGISTiledMapServiceLayer URL property can be updated programmatically as shown in this sample: http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#SwitchMap. However, note that these 3 map service share the same SpatialReference.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.