InteractiveOverlayImage class

Represents a single image overlay defined by 4 geographic corners.

Constructors

InteractiveOverlayImage({Key? key, required ImageProvider<Object> image, required QuadLatLng corners, int alpha = 220, double? handleSize, List<OverlayOptions> options = const []})
const
InteractiveOverlayImage.safe({Key? key, required ImageProvider<Object> image, required LatLng topLeft, required LatLng topRight, required LatLng bottomRight, required LatLng bottomLeft, int alpha = 220, double? handleSize, List<OverlayOptions> options = const []})
Creates an InteractiveOverlayImage performing checks on options.
factory

Properties

actionOptions ActionOverlayOptions?
no setter
activeOptions ActiveOverlayOptions?
no setter
alpha int
final
center → LatLng
no setter
corners QuadLatLng
final
gestureOptions GestureOverlayOptions?
no setter
handleSize double?
final
hashCode int
The hash code for this object.
no setteroverride
image ImageProvider<Object>
final
key Key?
final
labelOptions LabelOverlayOptions?
no setter
options List<OverlayOptions>
final
popupOptions PopupOverlayOptions?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({Key? key, ImageProvider<Object>? image, QuadLatLng? corners, int? alpha, double? handleSize, List<OverlayOptions>? options}) InteractiveOverlayImage
ensureHasKey() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override
withOption<T extends OverlayOptions>(T opt) InteractiveOverlayImage
Returns a copy of this overlay with the specified option opt added or updated.
withoutOption<T extends OverlayOptions>() InteractiveOverlayImage
Returns a copy of this overlay with the option of type T removed.

Operators

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

Static Methods

fromOverlay(OverlayImage overlay, {List<OverlayOptions> options = const [], double? handleSize}) InteractiveOverlayImage