fix: improve route visibility and lift offers banner
This commit is contained in:
@ -35,7 +35,7 @@ export function useDirectionsRoute() {
|
||||
return;
|
||||
}
|
||||
|
||||
limpiarRuta();
|
||||
// NOTA: No llamamos a limpiarRuta() aquí para poder encadenar llamadas (dibujar fondo + trazado activo)
|
||||
estasCargando.value = true;
|
||||
errorRuta.value = null;
|
||||
|
||||
@ -98,9 +98,9 @@ export function useDirectionsRoute() {
|
||||
const polyline = new google.maps.Polyline({
|
||||
path: path,
|
||||
map: map,
|
||||
strokeColor: isPast ? '#FDE68A' : '#FBBF24',
|
||||
strokeWeight: isPast ? 3 : 5,
|
||||
strokeOpacity: isPast ? 0.4 : 0.95,
|
||||
strokeColor: isPast ? '#9CA3AF' : '#FBBF24', // Gris para lo lejano, Amarillo para lo cercano
|
||||
strokeWeight: isPast ? 4 : 6,
|
||||
strokeOpacity: isPast ? 0.6 : 1.0,
|
||||
icons: isPast ? [{
|
||||
icon: { path: 'M 0,-1 0,1', strokeOpacity: 1, scale: 2 },
|
||||
offset: '0',
|
||||
|
||||
Reference in New Issue
Block a user