TileOverlay class
A tile overlay is a set of images to be displayed on a map.
It can be transparent and enable you to add new functions to an existing map.
- Annotations
Constructors
- TileOverlay({required TileOverlayId tileOverlayId, required dynamic tileProvider, bool? fadeIn, double? transparency, bool? visible, double? zIndex})
-
Creates a TileOverlay object.
const
Properties
- fadeIn → bool?
-
Indicates whether a tile overlay fades in.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tileOverlayId → TileOverlayId
-
Unique Tile Overlay ID.
final
- tileProvider → dynamic
-
Provider of a tile overlay.
final
- transparency → double?
-
Transparency of a tile overlay.
final
- visible → bool?
-
Indicates whether a tile overlay is visible.
final
- zIndex → double?
-
Z-index of a tile overlay.
final
Methods
-
clone(
) → TileOverlay - Clones a TileOverlay object.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateCopy(
{dynamic tileProvider, bool? fadeIn, double? transparency, bool? visible, double? zIndex}) → TileOverlay - Copies a TileOverlay object and updates the specified attributes.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override