Draw Rectangle on Map and filter data#79
Conversation
✅ Deploy Preview for hydroprocess ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
devincowan
left a comment
There was a problem hiding this comment.
Nice work on this Sandesh!
I left a few questions for you, but otherwise this looks good
devincowan
left a comment
There was a problem hiding this comment.
@MSDrao thanks for your updates. However, this feels pretty broken to me.
Issue with map panning:
https://github.com/user-attachments/assets/6ee967f1-852a-4f58-8502-fcd49a50b126
When I try to click an drag, no box is shown and the selected area does not match the area that I dragged over:
https://github.com/user-attachments/assets/15c7f07a-d3c2-44d5-8d69-ab11f820c020
|
@sandesh and I met for quite a long debugging session to figure out what's going on with this PR and cache issues between his local system and our Netlify builds. We tried
We used I tried but was unable to determine exactly what was going on in this commit that causes things to fail in Netlify and in my local builds but not to fail for Sandesh locally. We narrowed it down to these lines pertaining to the Leaflet Draw event handlers: I suggested that Sandesh @martinseul tagging you for awareness... |
devincowan
left a comment
There was a problem hiding this comment.
Screen.Recording.2025-08-13.at.12.43.08.PM.mov
|
From @MSDrao:
I hear that... but this state (at the end of the video I posted) doesn't make sense: It shows "400" total models even though the Spatial Zone filter is activated. It should show "54". It also shouldn't show all 400 points on the map while the Spatial Zone filter is active. It should only show 54 points. |
devincowan
left a comment
There was a problem hiding this comment.
Screen.Recording.2025-08-14.at.2.22.03.PM.mov
devincowan
left a comment
There was a problem hiding this comment.
looks good, I would have @Castronova do a functional review using the netlify deploy as well

CAM-730
Add the ability to filter by drawing a box on the map