setEnabled method - MapLayer class - mapview library - Dart API
setEnabled
setEnabled abstract method
- bool enable
Sets whether or not the layer is enabled to be drawn.
enableTrueto enable the layer,falseto disable it.
Implementation
void setEnabled(bool enable);