watering
This commit is contained in:
@@ -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 }} />
|
||||
|
||||
Reference in New Issue
Block a user