jaime-varela/map-query

Implement query logic

Closed this issue · 4 comments

The data can now be retrieved but the distance logic needs to be implemented

Do a simple average walking distance calculation for now.

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.

Maybe a graph needs to be constructed or something.

Ensure to apply query logic in an expandable way.

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.