MarkerMatch class Maps & 3D Scenes

A single match found when querying the map for markers.

MarkerMatch represents one result returned by marker selection or hit tests (for example from GemMapController.cursorSelectionMarkers or MapViewMarkerCollections.hitTest). It exposes the matched Marker, the MarkerCollection it belongs to, the marker's index and part/segment that was hit, the match type, the distance from the query point, and the exact matched coordinates.

See also:

Constructors

MarkerMatch()

Properties

coordinates Coordinates
The geographic coordinates of the match.
no setter
distance int
Distance from the query point to the matched position, in meters.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasRegisteredAutoReleaseObject bool
getter/setter pairinherited
markerCollection MarkerCollection
Returns the MarkerCollection containing the matched marker.
no setter
markerIndex int
The zero-based index of the matched marker inside its collection.
no setter
partIndex int
The part index that was hit for markers composed of multiple parts.
no setter
pointerId int
The pointer ID of the native object
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segment int
The segment index that was hit.
no setter
type MarkerMatchType
The type of match that was detected.
no setter

Methods

dispose() → void
Disposes the native object.
inherited
getMarker() Marker
Returns the matched Marker.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAutoReleaseObject(int pointerId) → void
Registers an object for auto release.
inherited
toString() String
A string representation of this object.
inherited

Operators

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