- 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. |
||
---|---|---|
.. | ||
cluster-layer.tsx | ||
district-extrusion-layer.tsx | ||
district-layer-old.tsx | ||
district-layer.tsx | ||
heatmap-layer.tsx | ||
layers.tsx | ||
timeline-layer.tsx | ||
uncluster-layer.tsx | ||
units-layer.tsx |