diff --git a/Js/script.js b/Js/script.js index ffdb0b0e8169bd762a6dbace0a0a1fb0a94680fa..984522bde6e8964c6a90e2a11d64dc0883c8756f 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) {