mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-06-07 14:53:53 +02:00
fix: use mapZoom instead of undefined zoom for UavLabels
This commit is contained in:
@@ -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) */}
|
||||
|
||||
Reference in New Issue
Block a user