im using this offline tiled example to hide legend items for certain layers. I am able to hide the cells, but what this also does is hide the mapview layer aswell. how can i modify this code to not turn off the map view layers and use another boolean variable instead of the current invisible, since i need to use invisible for something else.