Layer class abstract

Super class for all different types of layers.

Implementers

Constructors

Layer({required String id, Visibility? visibility, List<Object>? visibilityExpression, List<Object>? filter, double? maxZoom, double? minZoom, String? slot})

Properties

filter ↔ List<Object>?
An expression specifying conditions on source features. Only features that match the filter are displayed.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id ↔ String
The ID of the Layer.
getter/setter pair
maxZoom ↔ double?
The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.
getter/setter pair
minZoom ↔ double?
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
getter/setter pair
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, it will be placed at that position in the layer order.
getter/setter pair
visibility ↔ Visibility?
The visibility of the layer.
getter/setter pair
visibilityExpression ↔ List<Object>?
The visibility of the layer.
getter/setter pair

Methods

getType() → String
Get the type of current layer as a String.
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