From 2e60c6b041cfb41628208651e4cf3f84d0a3dea3 Mon Sep 17 00:00:00 2001 From: Francisco Sandoval Date: Sat, 2 Dec 2023 21:51:14 -0300 Subject: [PATCH] =?UTF-8?q?se=20cambio=20tama=C3=B1o=20a=20iconos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mapas/Rutas.svelte | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/pages/mapas/Rutas.svelte b/src/pages/mapas/Rutas.svelte index feba301..bcee8f7 100644 --- a/src/pages/mapas/Rutas.svelte +++ b/src/pages/mapas/Rutas.svelte @@ -43,17 +43,17 @@ if (!iconPartida) { iconPartida = L.icon({ iconUrl: imagenPartida, - iconSize: [64, 64], - iconAnchor: [32, 64], - popupAnchor: [0, -32] + iconSize: [40, 40], + iconAnchor: [20, 40], + popupAnchor: [0, -20] }) } if (!iconTermino) { iconTermino = L.icon({ iconUrl: imagenTermino, - iconSize: [64, 64], - iconAnchor: [0, 64], - popupAnchor: [0, -32] + iconSize: [40, 40], + iconAnchor: [20, 40], + popupAnchor: [0, -20] }) } if (!iconParada) { @@ -67,7 +67,7 @@ if (!myMap) { myMap = L.map(elMap) L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', - { attribution: '© OpenStreetMap contributors' } + { attribution: '© OpenStreetMap contributors' } ).addTo(myMap); }