More fallback colors

This commit is contained in:
phl0
2025-12-12 10:03:00 +01:00
parent 959acf1257
commit f56e9b3d1d
3 changed files with 7 additions and 7 deletions

View File

@@ -8,13 +8,13 @@ L.Maidenhead = L.LayerGroup.extend({
// Line and label color
workedColor: user_map_custom?.qso?.color
? hexToRgba(user_map_custom.qso.color, 0.5)
: 'rgba(255, 0, 0, 0.4)',
: 'rgba(229, 165, 10, 0.5)',
confirmedColor: user_map_custom?.qsoconfirm?.color
? hexToRgba(user_map_custom.qsoconfirm.color, 0.5)
: 'rgba(144,238,144, 0.5)',
: 'rgba(144, 238, 144, 0.5)',
color: 'rgba(255, 0, 0, 0.4)',
color: 'rgba(204, 55, 45, 0.5)',
// Redraw on move or moveend
redraw: 'move'

View File

@@ -10,7 +10,7 @@ L.Maidenhead = L.LayerGroup.extend({
workedColor: user_map_custom?.qso?.color
? hexToRgba(user_map_custom.qso.color, 0.5)
: 'rgba(255, 0, 0, 0.5)',
: 'rgba(229, 165, 10, 0.5)',
confirmedColor: user_map_custom?.qsoconfirm?.color
? hexToRgba(user_map_custom.qsoconfirm.color, 0.5)

View File

@@ -11,14 +11,14 @@ L.Maidenhead = L.LayerGroup.extend({
workedColor: user_map_custom?.qso?.color
? hexToRgba(user_map_custom.qso.color, 0.5)
: 'rgba(255, 251, 0, 0.5)',
: 'rgba(229, 165, 10, 0.5)',
confirmedColor: user_map_custom?.qsoconfirm?.color
? hexToRgba(user_map_custom.qsoconfirm.color, 0.5)
: 'rgba(144,238,144, 0.5)',
: 'rgba(144, 238, 144, 0.5)',
unworkedColor : user_map_custom?.unworked?.color
? hexToRgba(user_map_custom.unworked.color, 0.5)
: 'rgba(255, 0, 0, 0.5)',
: 'rgba(204, 55, 45, 0.5)',
// Redraw on move or moveend
redraw: 'move'