VectorTileStyleLayer class final

An individual style layer in a VectorTileStyle.

Modifications to the style layer, such as changes to the filter expression or visibility, take effect in the rendering as soon as they are made, unless a batch update is in progress on the style.

Implemented types

Properties

filterExpression ↔ VectorTileStyleLayerFilterExpression?
An expression that determines which features in the style layer are rendered.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
id → String
The unique identifier of the style layer.
no setter
isModified → bool
True if the style layer is modified from its original state; false otherwise.
no setter
layoutProperties → VectorTileStyleLayerLayoutProperties
The layout properties of the style layer.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sourceLayerName → String
The name of the source layer of the style layer.
no setter
sourceName → String
The name of the source of the style layer.
no setter
type → VectorTileStyleLayerType
The VectorTileStyleLayerType of the style layer.
no setter

Methods

isVisibleAtScale(double scale) → bool
True if the style layer is visible at the specified scale; false otherwise.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Resets the style layer to its original state.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited