focus?:{ function?: "linear" | "exp"; scale?: number; weight?: number }
Type declaration
Optional function?: "linear" | "exp"
Which decay function to apply.
defaultvalue
linear
Optional scale?: number
Controls the rate of decay, i.e. at which distance in km from the given location the scoring will be given the boost factor of the default decay value, which is 0.5.
defaultvalue
2500
Optional weight?: number
Base weight to be applied to boosting results based on location. This value will be multiplied by a factor determined by decay function and scale.
Use boundary object instead