AnsweredAssumed Answered

Dynamically Create Layer List Help

Question asked by datanetics on Mar 1, 2014
Latest reply on Feb 18, 2015 by Mr_Kirkwood
I'm trying to use the script from in order to create checkboxes for the layers on the map. I've managed to get the script working, but can only add one array of layers. If I try to add another ArcGISDynamicMapServiceLayer line it overwrites the first one. Is there a way to add multiple arrays to the same script?