-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Nearby: Load pins as I move the screen, cache pins, remove "search this area" button #5664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@nicolas-raoul this will greatly enhance the Nearby feature, I am currently working on Nearby, I would love to take this task as well, can I work on this? |
Hey @shashankiitbhu, I think we should work on #4560 first than working on this issue. Otherwise this issue will make things much expensive. Also this issue is now part of GSoC project. How about leaving this for GSoC ? |
Sorry , Just Checked it on Phabricator, Leaving it For GSOC |
@kanahia1 It's better do both together in a GSOC , I agree that the mentioned task should be done first |
@nicolas-raoul, would we want to cache the pins only within a specific radius around the user or cache all loaded pins? |
I think we should cache everything, irrespective of distance. The data is light, I don't think it will ever go over 10 MB. |
Currently, when you move the map in Nearby, you have to tap "search this area" to load the pins in the area you moved the map to.
It would be more user friendly to automatically load the pins (like Wikishootme does).
Our queries take more time than Wikishootme because we load more information about each point. To avoid losing the already loaded pins (which probably are close to where I am, and thus will probably be shown in the map again shortly afterwards), each pin should be cached in the local database, with its attributes (label, class, latitude/longitude, Wikipedia URL, needs photo or not, exists or not, etc) and also the timestamp it were fetched.
Cache invalidation:
The text was updated successfully, but these errors were encountered: