AnsweredAssumed Answered

ArcGISDynamicMapServiceLayer: option for visible layers?

Question asked by rmartin4 on Jul 16, 2013
Latest reply on Jul 16, 2013 by rmartin4
I'm trying to reverse engineer a JavaScript viewer that consumes a dynamic map service. I know it's getting tiles from a URL like this:

http://domain/ArcGIS/rest/services/D_LEGENDLAYERS/MapServer/export?layers=show%3A0%2C10%2C22%2C53%2C63%2C73%2C125%2C96%2C108%2C83%2C93

The 'layers' parameter decoded is:
show:0,10,22,53,63,73,125,96,108,83,93

If I wanted to rewrite the constructor for this layer, how would I pass it those IDs? I don't see anything like that in the options.


Thank you!
Robert

Outcomes