MIF_E31221222/sigap-website/app/_utils
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
..
const refactor: streamline map constants and enhance animation handling in layers 2025-05-14 12:04:21 +07:00
cookies change project structure 2025-03-12 16:13:57 +07:00
map Refactor map layers and pop-ups for improved incident handling and UI updates 2025-05-14 16:14:40 +07:00
mock feat: Add Panic Button Demo component and EWS Alert Layer for incident management 2025-05-07 10:23:54 +07:00
supabase add some stuff 2025-04-27 22:41:27 +07:00
types Refactor tooltip and control types for improved clarity and consistency 2025-05-14 11:08:06 +07:00
authz.ts init model rbac 2025-04-07 20:50:57 +07:00
clustering.ts feat: add crime map components and functionality 2025-04-14 23:47:44 +07:00
colors.ts feat: Add timeline and units layers to the map component 2025-05-05 10:38:11 +07:00
common.ts add filter source_type 2025-05-12 12:24:50 +07:00
crime-stats.ts feat: add crime and district popups with detailed information and filtering capabilities 2025-05-02 22:20:22 +07:00
crime.ts add filter source_type 2025-05-12 12:24:50 +07:00
map.ts Refactor tooltip and control types for improved clarity and consistency 2025-05-14 11:08:06 +07:00
time.ts feat: Add timeline and units layers to the map component 2025-05-05 10:38:11 +07:00
validation.ts init model rbac 2025-04-07 20:50:57 +07:00