BackgroundThemeLayer class

Inheritance

Constructors

BackgroundThemeLayer({required String id, required ColorProp color, required DoubleProp opacity, required double minzoom, required double maxzoom, required Expr filter})

Properties

color → ColorProp
final
filter → Expr
Compiled filter; returns a truthy value when the feature matches.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String
finalinherited
maxzoom → double
finalinherited
minzoom → double
finalinherited
opacity → DoubleProp
final
referencedProperties ↔ Set<String>?
Property names this layer's expressions read, or null when unknown (all properties must be retained). Assigned once by the theme reader after all of the layer's expressions have been parsed.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String?
finalinherited
sourceLayer → String?
finalinherited

Methods

coversZoom(double zoom) → bool
Style zoom range check. Per spec, maxzoom is exclusive-ish (a layer with maxzoom 14 disappears at zoom >= 14); minzoom inclusive.
inherited
coversZoomBand(double zoom) → bool
Whether the range intersects the band [zoom, zoom + 1) — the fractional style zooms a tile laid out at integer style zoom zoom is painted at.
inherited
matches(EvalContext ctx) → bool
inherited
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