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

nombre por encima

parent ac8d765f
No related branches found
No related tags found
No related merge requests found
Pipeline #13195 passed
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment