API Reference > linear-referencing-backend > LinearReferencing > LinearElement > queryLinearLocations queryLinearLocations MethodStatic Query for LinearLocationReferences based on specified query parameters. queryLinearLocations(iModel: IModelDb, linearElementId: string, queryParams: QueryParams): LinearLocationReference[] throws IModelError Parameter Type Description iModel IModelDb linearElementId string queryParams QueryParams Returns - LinearLocationReference[] Returns an array of LinearLocationReferences. Defined in domains/linear-referencing/backend/src/LinearReferencingElements.ts Line 724 Last Updated: 12 June, 2024