diff --git a/src/components/MapView.jsx b/src/components/MapView.jsx index a79c545..e2cba53 100644 --- a/src/components/MapView.jsx +++ b/src/components/MapView.jsx @@ -1724,7 +1724,7 @@ const MapView = forwardRef(function MapView(_, ref) { map.once('load', updateBoundary) return () => map.off('load', updateBoundary) } - }, [selectedPlace]) + }, [selectedPlace, selectedPlace?.boundary]) // Update route polyline when route changes useEffect(() => {