Get or set a layer's visibility in the map canvas.
mapLayer.visible(layer, ...) mapLayer.setVisible(layer, value, ...) mapLayer.visible(layer, ...) <- value
layer | layer (or ID of the layer) which to set (in)visible |
---|---|
... | low-level parameters (such as |
value | logical: the visibility status to set for the given layer |