Added an option to add callsign database URL for lookups on a map.
This commit is contained in:
@ -147,6 +147,7 @@ defaultConfig = PropertyLayer(
|
||||
squelch_auto_margin=10,
|
||||
google_maps_api_key="",
|
||||
map_position_retention_time=2 * 60 * 60,
|
||||
callsign_url="https://www.qrzcq.com/call/{}",
|
||||
decoding_queue_workers=2,
|
||||
decoding_queue_length=10,
|
||||
wsjt_decoding_depth=3,
|
||||
|
@ -456,6 +456,7 @@ class MapConnection(OpenWebRxClient):
|
||||
"google_maps_api_key",
|
||||
"receiver_gps",
|
||||
"map_position_retention_time",
|
||||
"callsign_url",
|
||||
"receiver_name",
|
||||
)
|
||||
filtered_config.wire(self.write_config)
|
||||
|
@ -168,6 +168,13 @@ class GeneralSettingsController(SettingsFormController):
|
||||
infotext="Specifies how log markers / grids will remain visible on the map",
|
||||
append="s",
|
||||
),
|
||||
TextInput(
|
||||
"callsign_url",
|
||||
"Callsign database URL",
|
||||
infotext="Specifies callsign lookup URL, such as QRZ.COM "
|
||||
+ "or QRZCQ.COM. Place curly brackers ({}) where callsign "
|
||||
+ "is supposed to be.",
|
||||
),
|
||||
),
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user