feat: simplify map by removing all stop markers and manual clear button
This commit is contained in:
@ -4,10 +4,9 @@ import { useScheduleStore } from '@/stores/schedule'
|
||||
import { useRouteStore } from '@/stores/route'
|
||||
import { formatTo12Hour } from '@/utils/timeFormatter'
|
||||
import { analyticsService } from '@/services/analyticsService'
|
||||
import { useRouter, useRoute } from 'vue-router'
|
||||
import { useRoute } from 'vue-router'
|
||||
|
||||
const route = useRoute()
|
||||
const router = useRouter()
|
||||
const scheduleStore = useScheduleStore()
|
||||
const routeStore = useRouteStore()
|
||||
|
||||
@ -126,11 +125,8 @@ function pickRoute(id: string, name: string) {
|
||||
scheduleStore.loadRouteSchedules(id)
|
||||
}
|
||||
|
||||
function goToMap() {
|
||||
if (routeStore.selectedRouteId) {
|
||||
router.push({ path: '/map', query: { routeId: routeStore.selectedRouteId } })
|
||||
}
|
||||
}
|
||||
// goToMap removed per request
|
||||
|
||||
|
||||
// ── Cierre del dropdown al hacer clic fuera
|
||||
function handleOutsideClick(e: MouseEvent) {
|
||||
@ -256,11 +252,6 @@ onUnmounted(() => {
|
||||
<span class="live-dot"></span>
|
||||
<span>Próximas salidas</span>
|
||||
</div>
|
||||
<!-- Botón ver en mapa -->
|
||||
<button class="map-btn" @click="goToMap">
|
||||
<span class="material-icons">map</span>
|
||||
Ver en mapa
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Chips de filtro día -->
|
||||
|
||||
Reference in New Issue
Block a user