MapLayer class - mapview library - Dart API
MapLayer
MapLayer class abstract
Interface for managing a map layer.
A map layer can be created by using the MapLayerBuilder. At creation, the layer gets added to a map. The layer gets removed from the map upon instance destruction.
Constructors
- MapLayer()
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
-
destroy(
) → void - Frees all internally used resources.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setEnabled(
bool enable) → void - Sets whether or not the layer is enabled to be drawn.
-
setPriority(
MapLayerPriority priority) → void - Sets the render priority for the layer which replaces any previously defined priorities.
-
setStyle(
Style style) → void - Sets the style to be used by the layer.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited