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.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.