Uniquely identifies the data source which provided the picked object.
Data source order, useful for sorting a collection of picking results. A number for objects/features coming from tiles (as those have data sources attached), an undefined when objects are added via "mapView.mapAnchors.add(object)" - those are treated as base layer objects during picking (same as "dataSourceOrder: 0").
Distance from the camera to the picking point; used to determine the closest object.
An optional feature ID of the picked object.
Defined for geometry only.
A 2D point in screen coordinates, or a 3D point in world coordinates.
Render order of the intersected object.
Defined for roads or if enableTechniqueInfo
option is enabled.
The tile key containing the picked object.
General type of object.
Optional user data that has been defined in the picked object.
Generated using TypeDoc
A general pick result. You can access the details of a picked geometry from the property
intersection
, which is available if a geometry was hit. If a road was hit, a [[RoadPickResult]] is returned, which has additional information, but nointersection
.