nozzles still

This commit is contained in:
Jake Kasper
2025-08-23 12:50:02 -04:00
parent e8ba897edc
commit 58dc2c83b1
2 changed files with 22 additions and 0 deletions

View File

@@ -390,6 +390,25 @@ const PropertyMap = ({
);
})}
{/* Debug: Add a test polygon to see if polygons work at all */}
{property?.latitude && property?.longitude && (
<Polygon
positions={[
[property.latitude + 0.001, property.longitude + 0.001],
[property.latitude + 0.001, property.longitude - 0.001],
[property.latitude - 0.001, property.longitude - 0.001],
[property.latitude - 0.001, property.longitude + 0.001]
]}
pathOptions={{
fillColor: 'red',
fillOpacity: 0.8,
color: 'red',
weight: 3,
opacity: 1,
}}
/>
)}
{/* Current polygon being drawn */}
{currentPolygon.length > 0 && (
<>