- Removed unused CrimePopup component and replaced with IncidentPopup in layers.tsx - Consolidated incident click handling logic in UnitsLayer and RecentIncidentsLayer - Updated UnitsLayer to fetch nearest units and display them in the IncidentPopup - Enhanced UI for displaying nearby police units with loading states and better formatting - Cleaned up console logs for production readiness - Adjusted map flyTo parameters for better user experience - Added wave circle animations for incident markers |
||
---|---|---|
.. | ||
containers | ||
controls | ||
layers | ||
legends | ||
markers | ||
pop-up | ||
crime-map.tsx | ||
fly-to-handler.tsx | ||
fly-to.tsx | ||
map.tsx | ||
overlay.tsx |