AnsweredAssumed Answered

Turning on and off layers on a Map

Question asked by FrankFlynn on Mar 13, 2013
Latest reply on May 14, 2018 by rosalinda.guzman
I am new to JavaScript API.  I have a map with a number of feature layers added.  I would like to be able to turn on and off these layers through the JavaScript API, yet I cannot seem to find a way to recognize the different layers on the map through the API.

Any help would be appreciated.