SIGcorse

layers

Discussion created by SIGcorse on Aug 12, 2013
Latest reply on Aug 13, 2013 by JGravois-esristaff
Hi,

I'd like to enable/disable layers on my application but i'm having some problems with that.

I found a sample which does exactly what I want, here.

I also saw that to make it work I need to put my layers on my MapServer using this but there is no any "share as" in my arcmap since i'm running the v10.0.
All I want at the moment would be to generate such link to get my layers.
layer = new esri.layers.ArcGISDynamicMapServiceLayer("http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer");

Outcomes