- Updated DistrictLayer to dispatch custom events for incident clicks and map fly-to actions. - Enhanced DistrictFillLineLayer to support a new onDistrictClick prop for handling district interactions. - Improved Layers component to manage district and incident selections, including new event listeners for incident clicks. - Refactored UnclusteredPointLayer to streamline incident click handling and map interactions. - Introduced FlyToHandler component to centralize fly-to event handling and highlight effects for incidents. - Cleaned up event listener management across components to ensure proper cleanup and avoid memory leaks. |
||
---|---|---|
.. | ||
bottom | ||
bottom-left | ||
left/sidebar | ||
top | ||
category-selector.tsx | ||
map-filter-control.tsx | ||
map-selector.tsx | ||
month-selector.tsx | ||
year-selector.tsx |