ThemeLayer class abstract

Represents a layer in the theme. Can render to a Context, and specifies its type.

Constructors

ThemeLayer(String id, ThemeLayerType type, {required double? minzoom, required double? maxzoom, required Map<String, dynamic> metadata})

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
final
maxzoom double?
final
metadata Map<String, dynamic>
final
minzoom double?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tileSource String?
no setter
type ThemeLayerType
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(Context context) → void
toString() String
A string representation of this object.
inherited

Operators

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