ARMapUIEventDragEnd: ARMapBaseEvent & {
    payload: {
        draggedFeatures: ARFeature[];
        draggedOnFeatures: ARFeature[];
        draggedType?: AREntityType;
        pos: ARMapPos;
        tags: string[];
    };
    type: DRAG_END;
}

Type declaration

  • payload: {
        draggedFeatures: ARFeature[];
        draggedOnFeatures: ARFeature[];
        draggedType?: AREntityType;
        pos: ARMapPos;
        tags: string[];
    }
    • draggedFeatures: ARFeature[]

      original dragged feature + all already selected features

    • draggedOnFeatures: ARFeature[]

      all features dragged on

    • Optional draggedType?: AREntityType

      entityType of original dragged feature (the one below the mouse at start of drag)

    • pos: ARMapPos

      position of the mouse at the end of drag

    • tags: string[]

      tags for additional drag info example: will include TRASHBIN if dragged on trashbin

  • type: DRAG_END

Generated using TypeDoc