This commit is contained in:
Jake Kasper
2025-09-05 09:58:40 -04:00
parent 808e4a8a96
commit af10a60e17

View File

@@ -420,7 +420,7 @@ const Watering = () => {
},
click: ()=> onSelectPoint(pt)
}}
/>
>
<Popup>
<div className="space-y-2 text-sm">
<div className="font-medium">Adjust Sprinkler</div>
@@ -448,6 +448,7 @@ const Watering = () => {
</div>
</div>
</Popup>
</Marker>
{cov?.kind==='circle' && (
cov.degrees && cov.degrees < 360 ? (
<Polygon positions={sectorPolygon({lat:Number(pt.lat),lng:Number(pt.lng)}, cov.radius, (pt.sprinkler_heading_degrees||0), (pt.sprinkler_heading_degrees||0)+cov.degrees)} pathOptions={{ color:'#2563eb', fillOpacity:0.2 }} />