archive and stuff
This commit is contained in:
@@ -429,14 +429,14 @@ const PropertyMap = ({
|
||||
})}
|
||||
|
||||
{/* GPS Tracking Elements */}
|
||||
{mode === "execution" && (
|
||||
{(mode === "execution" || mode === "view") && (
|
||||
<>
|
||||
{/* GPS Track Polyline */}
|
||||
{gpsTrack.length > 1 && (
|
||||
<Polyline
|
||||
positions={gpsTrack.map(point => [point.lat, point.lng])}
|
||||
pathOptions={{
|
||||
color: '#10B981',
|
||||
color: '#EF4444',
|
||||
weight: 4,
|
||||
opacity: 0.8,
|
||||
}}
|
||||
@@ -454,8 +454,8 @@ const PropertyMap = ({
|
||||
)
|
||||
))}
|
||||
|
||||
{/* Current Location */}
|
||||
{currentLocation && (
|
||||
{/* Current Location - only for execution mode */}
|
||||
{currentLocation && mode === "execution" && (
|
||||
<Marker
|
||||
position={[currentLocation.lat, currentLocation.lng]}
|
||||
icon={currentLocationIcon}
|
||||
|
||||
Reference in New Issue
Block a user