OverlayHitTester class

Constructors

OverlayHitTester(MapCamera cam, {double quadPaddingPx = 6.0, SpatialIndex<InteractiveOverlayImage>? index})

Properties

cam → MapCamera
final
hashCode → int
The hash code for this object.
no setterinherited
index → SpatialIndex<InteractiveOverlayImage>?
final
quadPaddingPx → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

hit(List<InteractiveOverlayImage> overlays, Offset p, {Key? preferKey}) → InteractiveOverlayImage?
Returns the index of the hit overlay, or null. preferKey (active/hover) is tested first to feel "sticky" when overlapping.
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