API (v2.0.0) - Giro3D
    Preparing search index...

    Interface MapPickResult<TFeature>

    Pick result on tiles (e.g. map)

    interface MapPickResult<TFeature = unknown> {
        coord: Coordinates;
        distance: number;
        entity: Map;
        features?: TFeature[];
        isMapPickResult: true;
        object: TileMesh;
        point: Vector3;
    }

    Type Parameters

    • TFeature = unknown

    Hierarchy (View Summary)

    Index

    Properties

    Coordinates of the point picked.

    distance: number

    Distance from the camera to the picked result.

    entity: Map

    Entity picked

    features?: TFeature[]

    Features picked (if pickFeatures enabled).

    isMapPickResult: true
    object: TileMesh

    Tile containing the picked result.

    point: Vector3

    Point picked.