From e00cb604a84648b6897ba2ed8894a7651a76ff50 Mon Sep 17 00:00:00 2001
From: frajuar <franciscojavier.juarez@estudiantes.uva.es>
Date: Sun, 15 Dec 2024 17:55:17 +0100
Subject: [PATCH] nombre por encima

---
 Js/script.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Js/script.js b/Js/script.js
index ffdb0b0..984522b 100644
--- a/Js/script.js
+++ b/Js/script.js
@@ -115,7 +115,7 @@ function dibujaMapa(seleccionAnno) {
             .on("mouseover",function(event,d){
                 const centroid = path.centroid(d);
                 let textX = centroid[0] + 15;
-                let textY = centroid[1] - 15;
+                let textY = centroid[1] - 30;
             
                 // Verificar si el texto se sale hacia la parte superior
                 if (textY < 10) {
-- 
GitLab