fix: use mapZoom instead of undefined zoom for UavLabels

This commit is contained in:
anoracleofra-code
2026-03-26 20:20:46 -06:00
parent c5d48aa636
commit 46657300c4
+1 -1
View File
@@ -3595,7 +3595,7 @@ const MaplibreViewer = ({
{/* HTML labels for UAVs (orange names) */}
{uavGeoJSON && !selectedEntity && !isMapInteracting && data?.uavs && (
<UavLabels uavs={data.uavs} inView={inView} zoom={zoom} />
<UavLabels uavs={data.uavs} inView={inView} zoom={mapZoom} />
)}
{/* HTML labels for earthquakes (yellow) - only show when zoomed in (~2000 miles = zoom ~5) */}