You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, in the map, per Dawarich logs + my proxy logs, it seems like Dawarich is not using any bounding box when calling the Photon API. This has two effects:
Results can be overly broad. If, for example, I'm looking at a map of my home city in the US and search for a place's name, I could get results from different states, countries or continents altogether.
The search itself seems to take quite a bit longer, especially if the Photon database is worldwide instead of a smaller region.
The feature request is to allow the Photon API call to use the bbox parameter in order to enable limiting the search to the area the user is currently looking at.
The expected format for the bounding box is minLon,minLat,maxLon,maxLat.
Now, it's possible that a user may wish to actually search outside of the current area - this would break that use case. In order to support both, I suggest making this optional. Specifically, when clicking on the Search icon in the map, next to the query text field, a checkbox could be added with some text like "Search current area only", or to the "Settings" view in the map.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, in the map, per Dawarich logs + my proxy logs, it seems like Dawarich is not using any bounding box when calling the Photon API. This has two effects:
The feature request is to allow the Photon API call to use the bbox parameter in order to enable limiting the search to the area the user is currently looking at.
As per the Photon README, the way to do so is as follows:
Now, it's possible that a user may wish to actually search outside of the current area - this would break that use case. In order to support both, I suggest making this optional. Specifically, when clicking on the Search icon in the map, next to the query text field, a checkbox could be added with some text like "Search current area only", or to the "Settings" view in the map.
Beta Was this translation helpful? Give feedback.
All reactions