jaime-varela / map-query

0 stars 0 forks source link

Implement query logic #5

Closed jaime-varela closed 3 years ago

jaime-varela commented 4 years ago

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 4 years ago

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 4 years ago

Maybe a graph needs to be constructed or something.

jaime-varela commented 4 years ago

Ensure to apply query logic in an expandable way.

jaime-varela commented 3 years ago

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.