createWithHiddenValue

Convenience initializer for creating style layers that are hidden by default

Return

a new style layer with the visibility initialized

Parameters

hidden

the hidden value for this style