Layer class abstract
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.
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
- visibility ↔ Visibility?
-
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