MarkerMatch class Maps & 3D Scene

Marker match

This class should not be instantiated directly. Instead, use the GemMapController.cursorSelectionMarkers to get a list of entities.

A result object returned from marker selection that describes a single match between a screen/touch query and a marker on the map. It provides access to the matched marker and the collection it belongs to, plus positional details such as the marker’s index within its collection, which part/segment or vertex was hit, the kind of match (point, contour, inside, etc.), the distance from the query point to the match, and the matched geographic coordinates.

Constructors

MarkerMatch.new()

Properties

coordinates Coordinates
Get matched position coordinates
no setter
distance int
Get distance to matched position in meters.
no setter
hashCode int
The hash code for this object.
no setterinherited
markerCollection MarkerCollection
Get matched marker collection.
no setter
markerIndex int
Get matched marker index in marker collection.
no setter
partIndex int
Get matched marker part index in marker parts.
no setter
pointerId int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segment int
Get matched segment.
no setter
type MarkerMatchType
no setter

Methods

getMarker() Marker
Get 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