PoiPoi-Dev / PoiPoi-frontend

MIT License
0 stars 4 forks source link

chore: add comment to handleSetClosestNotCompletedPin to indicate tha… #95

Closed J-Ariola closed 1 month ago

J-Ariola commented 1 month ago

Description

Closest non completed pin now sets itself based on the current filter settings. Based on how the algorithm works, it doesn't calculate the closest pin until the geolocation detects a change in coordinates. This is intentional.

Card Link

https://3.basecamp.com/5802516/buckets/37608217/card_tables/cards/7508331681

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

This can be tested by setting a filter and moving locations. The closest poi at the top will indicate the closest non completed pin with filters in consideration.

Checklist before requesting a review