- 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. |
||
---|---|---|
.. | ||
(pages) | ||
_components | ||
_hooks | ||
_lib | ||
_styles | ||
_utils | ||
api | ||
sentry-example-page | ||
favicon.ico | ||
global-error.tsx |