ClipLayer class final

Layer that removes 3D content from map.

Inheritance

Constructors

ClipLayer({required String id, Visibility? visibility, List<Object>? visibilityExpression, List<Object>? filter, double? minZoom, double? maxZoom, String? slot, required String sourceId, String? sourceLayer, List<String?>? clipLayerScope, List<Object>? clipLayerScopeExpression, List<String?>? clipLayerTypes, List<Object>? clipLayerTypesExpression})

Properties

clipLayerScope ↔ List<String?>?
Removes content from layers with the specified scope. By default all layers are affected. For example specifying basemap will only remove content from the Mapbox Standard style layers which have the same scope Default value: [].
getter/setter pair
clipLayerScopeExpression ↔ List<Object>?
Removes content from layers with the specified scope. By default all layers are affected. For example specifying basemap will only remove content from the Mapbox Standard style layers which have the same scope Default value: [].
getter/setter pair
clipLayerTypes ↔ List<String?>?
Layer types that will also be removed if fallen below this clip layer. Default value: [].
getter/setter pair
clipLayerTypesExpression ↔ List<Object>?
Layer types that will also be removed if fallen below this clip layer. Default value: [].
getter/setter pair
filter ↔ List<Object>?
Expression specifying conditions on source features. Only features that match the filter are displayed.
getter/setter pairinherited
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
The ID of the Layer.
getter/setter pairinherited
maxZoom ↔ double?
Maximum zoom level. At zoom levels equal to or greater than this, the layer is hidden. Range: 0 to 24.
getter/setter pairinherited
minZoom ↔ double?
Minimum zoom level. At zoom levels less than this, the layer is hidden. Range: 0 to 24.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slot ↔ String?
The slot this layer is assigned to. If specified and a slot with that name exists, the layer is placed at that slot's position in the layer order.
getter/setter pairinherited
sourceId ↔ String
The id of the source.
getter/setter pair
sourceLayer ↔ String?
A source layer is an individual layer of data within a vector source. A vector source can have multiple source layers.
getter/setter pair
visibility ↔ Visibility?
The visibility of the layer.
getter/setter pairinherited
visibilityExpression ↔ List<Object>?
The visibility of the layer, expressed as a style expression.
getter/setter pairinherited

Methods

getType() → String
Returns the layer's type as a String (e.g. "fill", "line").
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

decode(String properties) → ClipLayer