isVisible property

bool get isVisible

True if the style layer is visible; false otherwise.

This only reflects the layer visibility property in the vector tile specification and does not affect visibility based on minimum and maximum scale visibility.

set isVisible (bool value)