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

Fix map panning issues related resource info modal

Open ravimakhijapi opened this issue 1 year ago • 0 comments

Change Summary

Addresses #527. Introduces lastResourcePan in redux state to supersede prior mapCenter in redux, and currentLat/currentLon component state in <ReactGoogleMaps>, which helps properly track the last pan caused by the user clicking a pin or on the "Near Me" button.

Change Reason

Fixes various issues as described in detail in issue #527, where the map was panning when it shouldn't be, and wasn't panning when it should be, depending on the scenario.

Related Issue: #527

ravimakhijapi avatar Oct 06 '24 23:10 ravimakhijapi