From 8cdcfdd3d61baa19526f232da85b2c39167b799d Mon Sep 17 00:00:00 2001 From: aerom Date: Thu, 30 Apr 2026 21:01:27 -0400 Subject: [PATCH] =?UTF-8?q?Labels=20ayudas:=20quitar=20sombra=20y=20reduci?= =?UTF-8?q?r=20fuente=2010px=E2=86=929px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Elimina el stroke negro (rgba(0,0,0,0.55) width:2) que actuaba como sombra opaca en los textos de nombre/característica de luz de las ayudas a la navegación. La sombra cubría símbolos adyacentes (ej. balizas rojas en Miami). Fuente pasa de 10px 600w a 9px 500w — más pequeña pero legible. Aplica también al label de enfilaciones sobre las líneas. Co-Authored-By: Claude Sonnet 4.6 --- frontend/js/map.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/js/map.js b/frontend/js/map.js index b70f0cf..dec54f9 100644 --- a/frontend/js/map.js +++ b/frontend/js/map.js @@ -1491,9 +1491,8 @@ function _ldlineStyle(feature) { geometry: new ol.geom.Point(mid), text: new ol.style.Text({ text: lbl, - font: 'bold 10px "Inter", "Segoe UI", sans-serif', + font: '500 9px "Inter", "Segoe UI", sans-serif', fill: new ol.style.Fill({ color: '#fff' }), - stroke: new ol.style.Stroke({ color: 'rgba(0,0,0,0.50)', width: 2 }), offsetY: -12, overflow: true, }), @@ -1661,9 +1660,8 @@ function encStyle(feature, resolution) { text: label ? new ol.style.Text({ text: label, offsetY: 10, - font: '600 10px "Inter", "Segoe UI", sans-serif', + font: '500 9px "Inter", "Segoe UI", sans-serif', fill: new ol.style.Fill({ color: '#e8f4fd' }), - stroke: new ol.style.Stroke({ color: 'rgba(0,0,0,0.55)', width: 2 }), overflow: true, }) : undefined, });