MIF_E31221222/sigap-website/app/_components/map/layers
vergiLgood1 58f033d0e4 Refactor map layers and pop-ups for improved incident handling and UI updates
- 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
2025-05-14 16:14:40 +07:00
..
cluster-layer.tsx Refactor map layers and pop-ups for improved incident handling and UI updates 2025-05-14 16:14:40 +07:00
coastline.tsx feat: Add Panic Button Demo component and EWS Alert Layer for incident management 2025-05-07 10:23:54 +07:00
district-extrusion-layer.tsx Refactor tooltip and control types for improved clarity and consistency 2025-05-14 11:08:06 +07:00
district-layer-old.tsx Refactor map layer animations to use BASE_DURATION and introduce new constants for 3D view settings 2025-05-14 12:11:34 +07:00
district-layer.tsx Refactor map layer animations to use BASE_DURATION and introduce new constants for 3D view settings 2025-05-14 12:11:34 +07:00
ews-alert-layer.tsx Refactor map layers and pop-ups for improved incident handling and UI updates 2025-05-14 16:14:40 +07:00
fault-lines.tsx add some geojson layer 2025-05-07 09:03:52 +07:00
heatmap-layer.tsx refactor: enhance distance calculation and heatmap functionality; improve error handling and add interaction support 2025-05-07 03:17:59 +07:00
historical-incidents-layer.tsx Refactor map layers and pop-ups for improved incident handling and UI updates 2025-05-14 16:14:40 +07:00
layers.tsx Refactor map layers and pop-ups for improved incident handling and UI updates 2025-05-14 16:14:40 +07:00
recent-incidents-layer.tsx Refactor map layers and pop-ups for improved incident handling and UI updates 2025-05-14 16:14:40 +07:00
timeline-layer.tsx fix: fix bug district pop up always show while selected district is not focus 2025-05-14 10:06:09 +07:00
timezone.tsx feat: Add Panic Button Demo component and EWS Alert Layer for incident management 2025-05-07 10:23:54 +07:00
uncluster-layer.tsx Refactor map layers and pop-ups for improved incident handling and UI updates 2025-05-14 16:14:40 +07:00
units-layer.tsx Refactor map layers and pop-ups for improved incident handling and UI updates 2025-05-14 16:14:40 +07:00