API Reference > imodeljs-frontend > LocatingElements > HitList > addHit addHit Method Add a new hit to the list. Hits are sorted according to their priority and distance. addHit(newHit: T extends HitDetail): number Parameter Type Description newHit T extends HitDetail Returns - number Defined in core/frontend/src/HitDetail.ts Line 483 Last Updated: 13 June, 2024