Hello,
I have a map service that contains many layers. One layer is a Raster Layer with, for example, an ID of 5 - the service URL for this layer would be "localhost/ArcGIS/rest/services/testMap/MapServer/5".
How can I add this raster layer URL to the map? I do not want to add the entire Map service to the map - just this one layer. Passing this URL to ArcGISDynamicMapServiceLayerhowever does not work.