I have a layer called "Street labels" whose map data and the structure of that data I cannot modify. As you can see, the organization of its sublayers (and the mere fact that it has sublayers at all) is unintuitive:
There are separate sublayers for each different level of zoom detail (not to mention the extra "Street labels" sublayer within the "Street labels"). This layer is supposed to be one single, consolidated layer (without any sublayer options at all), but I cannot modify it since I'm pulling it from a URL provided by my organization. Is there a TypeScript/ReactJS workaround such that I can hide the highlighted Open/Expand button?
Solved! Go to Solution.
Hi @andrewc213
Set the listMode on the layer to `hide-children` 😀