CarparksLayer class abstract

Implemented types

Constructors

CarparksLayer.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

isValid() bool
isVisible() bool
Indicates whether the layer is displayed on a map.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetCarparksStyles() → void
Resets all JSON style transformations applied to the carparks layer.
setCarparksStyle(String style) bool
Applies JSON style transformations to the carparks layer. Same as setCarparksStyle(0, style). Set to empty string to clear previous styling. Returns true if the style was successfully parsed; false otherwise. If the return value is false, the current carparks style remains unchanged.
setCarparksStyleWithId({required int id, required String style}) bool
Applies JSON style transformations to the carparks layer. Replaces previous styling with the specified ID (if such exists). Stylings are applied in an ascending order. Set to empty string to clear previous styling with the specified ID. Returns true if the style was successfully parsed; false otherwise. If the return value is false, the current carparks style remains unchanged.
setVisible(bool on) → void
Display or hide the layer on a map.
toString() String
A string representation of this object.
inherited

Operators

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