Implement query logic
Closed this issue · 4 comments
jaime-varela commented
The data can now be retrieved but the distance logic needs to be implemented
Do a simple average walking distance calculation for now.
jaime-varela commented
In order to reduce requests and latency it is a good idea to store the current query places (for the whole map) and keep a list of display places which are computed during runtime.
jaime-varela commented
Maybe a graph needs to be constructed or something.
jaime-varela commented
Ensure to apply query logic in an expandable way.
jaime-varela commented
The calculation of marker distances doesn't seem to be an order of magnitude different than the API call so I'm leaving the naive implementation for now.