Package version:

Interface DistanceScoringParameters

Provides parameter values to a distance scoring function.

interface DistanceScoringParameters {
    boostingDistance: number;
    referencePointParameter: string;
}

Properties

boostingDistance: number

The distance in kilometers from the reference location where the boosting range ends.

referencePointParameter: string

The name of the parameter passed in search queries to specify the reference location.