fix: make top banner close button clear all map data

This commit is contained in:
2026-02-28 00:05:09 -05:00
parent f5f0fbc41d
commit 8ad7cd772f

View File

@ -781,7 +781,7 @@ async function calculateWalkingPath(origin: { lat: number, lng: number }, target
<span class="text-[10px] text-gray-500 whitespace-nowrap">
{{ (distanciaMetros && distanciaMetros < 1000) ? Math.round(distanciaMetros) + 'm' : (distanciaMetros ? (distanciaMetros / 1000).toFixed(1) + 'km' : '') }}
</span>
<button @click="paradaCercana = null" class="text-gray-400 hover:text-gray-600 shrink-0 p-0.5 ml-1">
<button @click="clearAllMapData" class="text-gray-400 hover:text-gray-600 shrink-0 p-0.5 ml-1">
<span class="material-icons" style="font-size:14px">close</span>
</button>
</div>