phlask-map icon indicating copy to clipboard operation
phlask-map copied to clipboard

Near Me Button Functionality

Open tomporvaz opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. The near me button on desktop and mobile should pan the map to the location of the closest resource to your devices location, change that locations pin to the selected pin that has an inverted color scheme and open the SelectedTap modal for that resource, or the half modal if on mobile.

Describe the solution you'd like Currently is seems as though the main feature that is not implemented yet is the map moving its focus to the closest pin.

The selected pin does not update to the active pin either, and this feature is not implemented anywhere in the app. The inverted/selected pin is a feature that is being work on in #386 , but once it has, it should be implemented in this context too.

Likewise, the half-modal has not been implemented anywhere on the map. It is being worked on in issue #361, but once implemented there, it should also be used when clicking on near me button.

Describe alternatives you've considered n/a

Additional context Previously worked on in issue #216.

Blocker: #361 not yet complete

tomporvaz avatar Jan 16 '24 01:01 tomporvaz

Hey @tomporvaz , I see this one is in the backlog column. Knowing that it's a core feature, I was wondering if there's anything else that is blocking it from moving it to the Ready column.

affabillyty avatar Mar 05 '24 03:03 affabillyty

@gcardonag mentioned that the actual 'logic' and math for the feature is built, but just needs to be inserted into v2.0.

tomporvaz avatar Mar 20 '24 00:03 tomporvaz

Hi @astoppop,

I hope you're doing well. I wanted to check in on the status of this issue. Could you please provide an update on the current progress?

Thank you for your time and effort on this project.

tomporvaz avatar May 28 '24 23:05 tomporvaz

@tomporvaz I believe this is also fixed by my PR, so I'm happy to take this on.

vontell avatar Jun 04 '24 22:06 vontell

Update on this ticket - the near me button works, but it goes to any nearest resource, rather than the nearest resource based on the filters currently applied (for instance, if you are viewing Food, it may bring you to the nearest Water resource). This should be a simpler ticket now, making sure to use the filtered resources rather than allResources for the nearest feature.

vontell avatar Jun 23 '24 19:06 vontell