Layer class
Super class for all different types of layers.
Constructors
- Layer({required String id, Visibility? visibility, double? maxZoom, double? minZoom})
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- id ↔ String
-
The ID of the Layer.
read / write
- 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 / write
- minZoom ↔ double?
-
The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- visibility ↔ Visibility?
-
The visibility of the layer.
read / write
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