Labels ayudas: quitar sombra y reducir fuente 10px→9px

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 <noreply@anthropic.com>
This commit is contained in:
2026-04-30 21:01:27 -04:00
parent 43e51addc7
commit 8cdcfdd3d6
+2 -4
View File
@@ -1491,9 +1491,8 @@ function _ldlineStyle(feature) {
geometry: new ol.geom.Point(mid), geometry: new ol.geom.Point(mid),
text: new ol.style.Text({ text: new ol.style.Text({
text: lbl, 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' }), fill: new ol.style.Fill({ color: '#fff' }),
stroke: new ol.style.Stroke({ color: 'rgba(0,0,0,0.50)', width: 2 }),
offsetY: -12, offsetY: -12,
overflow: true, overflow: true,
}), }),
@@ -1661,9 +1660,8 @@ function encStyle(feature, resolution) {
text: label ? new ol.style.Text({ text: label ? new ol.style.Text({
text: label, text: label,
offsetY: 10, 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' }), fill: new ol.style.Fill({ color: '#e8f4fd' }),
stroke: new ol.style.Stroke({ color: 'rgba(0,0,0,0.55)', width: 2 }),
overflow: true, overflow: true,
}) : undefined, }) : undefined,
}); });