RotatedOverlayImage class

Spans an image across three corner points.

Therefore this layer can be used to rotate or skew an image on the map.

The image is transformed so that its corners touch the topLeftCorner, bottomLeftCorner and bottomRightCorner points while the top-right corner point is derived from the other points.

Inheritance

Constructors

RotatedOverlayImage({required ImageProvider<Object> imageProvider, required LatLng topLeftCorner, required LatLng bottomLeftCorner, required LatLng bottomRightCorner, double opacity = 1.0, bool gaplessPlayback = false, FilterQuality? filterQuality = FilterQuality.medium})

Properties

bottomLeftCorner → LatLng
final
bottomRightCorner → LatLng
final
filterQuality FilterQuality?
The filter quality when rotating the image.
final
gaplessPlayback bool
final
hashCode int
The hash code for this object.
no setterinherited
imageProvider ImageProvider<Object>
final
opacity double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
topLeftCorner → LatLng
final

Methods

buildImageForOverlay() Image
inherited
buildPositionedForOverlay(MapState map) Positioned
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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