Closed tomporvaz closed 1 week ago
Also, when modal is opened and then closed, and then near me button is clicked, no pan. Also, if you open a modal, and then click near me, and then exit modal, the map will pan back to last location.
Hey. Just started by trying to reproduce the stated issues. There are a few notable points. Here are the findings:
Note also that at the moment, I believe current location would be the default current location (around city hall I believe) when location services are off.
Hi. I'm leaving some of my testing notes here, which organizes the various cases, in case someone else finds it helpful in debugging.
Proposed fix for the issues here is provided in PR #539.
These are awesome notes, thanks for putting them together @ravicodelabs ! I'm looking through the scenarios and PR 👀
As for the note about the default location being city hall when users do not share location, that is accurate. We set that in order to have a starting position in that scenario (since we otherwise don't have a place to set as the initial map center)
Sounds good @gcardonag, and thanks for clarifying the default center was an intentional bit, makes sense!
Closing this as it has been addressed, thanks again @ravicodelabs !
Describe the bug In desktop mode (and presumably mobile too) the map will pan to the last location visited specifically after opening the modal and not closing it.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect the map to pan to the new location, e.g. Franklin D. Roosevelt Park.