ClipLayer class
Layer that removes 3D content from map.
- Inheritance
- Annotations
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
basemapwill only remove content from the Mapbox Standard style layers which have the same scope Default value: [].read / write -
clipLayerScopeExpression
↔ List<
Object> ? -
Removes content from layers with the specified scope. By default all layers are affected. For example specifying
basemapwill only remove content from the Mapbox Standard style layers which have the same scope Default value: [].read / write -
clipLayerTypes
↔ List<
String?> ? -
Layer types that will also be removed if fallen below this clip layer.
Default value: [].
read / write
-
clipLayerTypesExpression
↔ List<
Object> ? -
Layer types that will also be removed if fallen below this clip layer.
Default value: [].
read / write
-
filter
↔ List<
Object> ? -
An expression specifying conditions on source features.
Only features that match the filter are displayed.
read / writeinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ String
-
The ID of the Layer.
read / writeinherited
- maxZoom ↔ double?
-
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
read / writeinherited
- minZoom ↔ double?
-
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
read / writeinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- slot ↔ String?
-
The slot this layer is assigned to. If specified, and a slot with that name exists, it will be placed at that position in the layer order.
read / writeinherited
- sourceId ↔ String
-
The id of the source.
read / write
- sourceLayer ↔ String?
-
A source layer is an individual layer of data within a vector source. A vector source can have multiple source layers.
read / write
- visibility ↔ Visibility?
-
The visibility of the layer.
read / writeinherited
-
visibilityExpression
↔ List<
Object> ? -
The visibility of the layer.
read / writeinherited
Methods
-
getType(
) → String -
Get the type of current layer as a String.
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