Prioritized display of search requests relative to the center of the map
Open
Nobody has claimed this yet.
Nice to have
- Dominant language
- MDX
- Stars
- 62
- Forks
- 413
- Avg merge
- 9h 41m
- Merged PRs (30d)
- 81
Description
Description
When location access is activated, POI is sorted according to the distance from the geolocation, not the location on which the map is centered.
This raises several controversial issues:
- When planning a trip, a user who is in Odesa wants to see the nearest McDonald's to the hotel where he is staying (respectively, the map is centered on the hotel) in Rome. But, at the beginning of the list, he sees the establishment that is closest to him, not the one that is on the map, and those establishments that are on the map are displayed in the middle of the list (or not at all - this is the next question) OsmAnd
- If the search is performed in a city that is located at a great distance, the limit of 1000 results may not be enough - for example, if user searches for “Starbucks” in Berlin while being in Wels, Austria, POIs will not be displayed OsmAnd
Steps to reproduce
- Activate location > Center the map on Rome (to a city 100-200km away) > Find Starbucks
- Activate location > Center the map on Berlin (600-700 km away) > Find Starbucks
Actual result
1
2
Expected result
- Prioritization of POIs relative to the center of the map
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Rome and Berlin Starbucks reproduction steps, with location access enabled and the map centered on each city. Compare the result ordering and availability against the current behavior described in the issue. Done means POIs are prioritized relative to the map center rather than the user's geolocation.
Written by the indexing model from the issue text.
Assessment
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100