withVisibilityRange abstract method
- MapLayerVisibilityRange visibilityRange
Configures the builder to set the layer visible in the given zoom levels range.
Values outside the map zoom level range (0, 24) will be ignored. Providing the visibility range is optional. If not provided, the layer will be visible on all zoom levels.
visibilityRangeVisibility range which should be applied to the layer.
Returns MapLayerBuilder. This class instance.
Implementation
MapLayerBuilder withVisibilityRange(MapLayerVisibilityRange visibilityRange);