simple question, very confusing: I want to remove the background from a layer at a certain point, but it only works at creation of the layer:
This works fine:sidePanelLayer = new Layer backgroundColor: false
while this doesn't work (once the color is set) : sidePanelLayer.backgroundColor = false
Can I state the last line differently to make it work?
you could give it a transparent background.. like sidePanelLayer.backgroundColor = "rgba(0,0,0,0)"
that worked, thank you!
actually, a better thing is to set
sidePanelLayer.backgroundColor = "transparent"
Or = ""
False doesn't work, use "" or null or "transparent".