Skip to content
Snippets Groups Projects
Commit ac8d765f authored by frajuar's avatar frajuar
Browse files

ultima final

parent ff2c52eb
Branches
No related tags found
No related merge requests found
Pipeline #13191 passed
...@@ -115,7 +115,7 @@ function dibujaMapa(seleccionAnno) { ...@@ -115,7 +115,7 @@ function dibujaMapa(seleccionAnno) {
.on("mouseover",function(event,d){ .on("mouseover",function(event,d){
const centroid = path.centroid(d); const centroid = path.centroid(d);
let textX = centroid[0] + 15; let textX = centroid[0] + 15;
let textY = centroid[1] - 10; let textY = centroid[1] - 15;
// Verificar si el texto se sale hacia la parte superior // Verificar si el texto se sale hacia la parte superior
if (textY < 10) { if (textY < 10) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment