Skip to content

Commit

Permalink
photonGeocode: Set location bias scale
Browse files Browse the repository at this point in the history
Tweak the location_bias_scale parameter.
See: komoot/photon#600
  • Loading branch information
mlundblad committed Jun 19, 2022
1 parent 9aa3f9d commit 40c0f45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/photonGeocode.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ export class PhotonGeocode {
if (latitude !== null && longitude != null) {
query.add('lat', latitude);
query.add('lon', longitude);
if (string)
query.add('location_bias_scale', PhotonUtils.LOCATION_BIAS_SCALE);
}

if (string)
Expand Down

0 comments on commit 40c0f45

Please sign in to comment.