Closed (fixed)
Project:
Geolocation Field
Version:
4.x-dev
Component:
Leaflet API
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
9 Mar 2023 at 19:58 UTC
Updated:
24 Sep 2026 at 13:00 UTC
Jump to comment: Most recent


Comments
Comment #2
socialnicheguru commentedComment #3
christianadamski commentedNot a big fan of this. How about using bias?
Go to https://github.com/komoot/photon and search for "Bias".
Comment #4
drupixTell me if I'm wrong but there is nothing in code about
location_bias_scale...For me the "Search extra value" is optional and meant to add limitation in results returned by the autocomplete field.
For example if I'm typing "vev" in autocomplete, I don't want that appears results from Germany or Czechoslovakia but only from Switzerland or any "Search extra value" set. With this example if I set "Vaud Switzerland" in "Search extra value", while I'm typing "vev" in autocomplete the photon API search for "q=vev Vaud Switzerland" and I'm getting only results in this particular region (Vaud) in Switzerland.
Just leaving "Search extra value" empty gives the default behavior.
Maybe I'm missing something...
Comment #5
christianadamski commentedBias is not implemented yet. But so far I would prefer it to simply adding words to the query, invisible to the user.
What's your opinion?
Comment #6
drupixThis is the case with the patch, the "Search extra value" is not visible by the user.
If you open the debugger tools of your browser and go under the Network tab you can see the "extra value" added to the query while typing text in the autocomplete field, nothing else...
Comment #7
christianadamski commentedComment #9
christianadamski commentedAdded the bounding box parameter for photon in 4.x. Version 3 is slowly winding down and will not be handled anymore for this.