fix: larger park/resort labels (13px bold), allow 2-line wrap, center-aligned
This commit is contained in:
+3
-2
@@ -3362,8 +3362,9 @@
|
||||
icon: L.divIcon({
|
||||
className: 'park-label-icon',
|
||||
html: '<div style="background:' + park.color + '22; color:' + park.color +
|
||||
'; border:1px solid ' + park.color + '44; border-radius:6px; padding:2px 8px;' +
|
||||
' font-size:11px; font-weight:600; white-space:nowrap; text-shadow:0 1px 2px rgba(0,0,0,0.8);">' +
|
||||
'; border:1px solid ' + park.color + '44; border-radius:6px; padding:3px 10px;' +
|
||||
' font-size:13px; font-weight:700; white-space:normal; max-width:140px; text-align:center;' +
|
||||
' text-shadow:0 1px 2px rgba(0,0,0,0.8);">' +
|
||||
park.icon + ' ' + park.name + '</div>',
|
||||
iconSize: [0, 0],
|
||||
iconAnchor: [0, 0],
|
||||
|
||||
Reference in New Issue
Block a user