archive and stuff

This commit is contained in:
Jake Kasper
2025-08-27 13:20:56 -04:00
parent 945de62564
commit e55d876d23
2 changed files with 308 additions and 13 deletions

View File

@@ -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}