Revised attempt at my previous question:
I am successfully adding a class to my graphic layer.... previously I was using an ID.. I console.log(myNewGraphicLayer) and it's found, the added class below: vvv
I added it this way: vvvv
I am perplexed, because this will work when ID is added...
const polyDrawline = map.findLayerById('someThing');
but this will not work when className is added...
const polyDrawlineS = map.findLayerByClassName('someThing');
how do I access my className?
The map class does not have a method by that name.
What exactly are you trying to do? Will the findLayerById not work for you?