Hi there,
I'm currently working with this example to attempt to link MapIMageLayer - Sublayers to checkboxes instead of button divs as per the example
MapImageLayer - Toggle sublayer visibility | Sample Code | ArcGIS API for JavaScript 4.25 | ArcGIS Developers
I can get the first checkbox working but the others are unresponsive. I have simply tried to replicate their code using Li checkbox inputs rather than Button Div inputs
heres a pen of my attempts
A Pen by Leon (codepen.io)
any help is really appreciated, it's been a while... :')
Best,
Leon