PathMatch class Geographic
Represents a match result when performing a hit test on a MapViewPathCollection.
Constructors
- PathMatch({required int path, required Coordinates coords, required int distance, required int segment})
Properties
- coords ↔ Coordinates
-
Coordinates of the matched position along the path.
getter/setter pair
- distance ↔ int
-
Distance in meters from the tested location to the matched position.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- path ↔ int
-
Matched path index in the path collection.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segment ↔ int
-
The segment index within the path where the match occurred.
getter/setter pair
Methods
-
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 ==(
covariant PathMatch other) → bool -
The equality operator.
override