mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-14 09:37:36 -05:00
#2641 Enhanced radio reference integration. With a premium subscription and when you set your location on the map, the Spectral display includes radio reference layer that presents popup card in the spectrum that shows candidate systems or frequencies ordered by distance from your location. Background thread builds an offline cache of data to support this. Map plots this cache as tower pins on the map and you can hover and active site frequencies from the map. (#2642)
Updates sdrtrunk to use latest radio reference api jar. Co-authored-by: denny <dennis.sheirer@gmail.com>
This commit is contained in:
@@ -28,6 +28,7 @@ import io.github.dsheirer.preference.duplicate.CallManagementPreference;
|
||||
import io.github.dsheirer.preference.event.DecodeEventPreference;
|
||||
import io.github.dsheirer.preference.identifier.TalkgroupFormatPreference;
|
||||
import io.github.dsheirer.preference.javafx.JavaFxPreferences;
|
||||
import io.github.dsheirer.preference.map.MapPreference;
|
||||
import io.github.dsheirer.preference.mp3.MP3Preference;
|
||||
import io.github.dsheirer.preference.playback.PlaybackPreference;
|
||||
import io.github.dsheirer.preference.playlist.PlaylistPreference;
|
||||
@@ -62,6 +63,7 @@ public class UserPreferences implements Listener<PreferenceType>
|
||||
private DirectoryPreference mDirectoryPreference;
|
||||
private CallManagementPreference mCallManagementPreference;
|
||||
private JmbeLibraryPreference mJmbeLibraryPreference;
|
||||
private MapPreference mMapPreference;
|
||||
private MP3Preference mMP3Preference;
|
||||
private PlaybackPreference mPlaybackPreference;
|
||||
private PlaylistPreference mPlaylistPreference;
|
||||
@@ -205,6 +207,14 @@ public class UserPreferences implements Listener<PreferenceType>
|
||||
return mSwingPreference;
|
||||
}
|
||||
|
||||
/**
|
||||
* Map view preferences: the last center point and zoom level
|
||||
*/
|
||||
public MapPreference getMapPreference()
|
||||
{
|
||||
return mMapPreference;
|
||||
}
|
||||
|
||||
/**
|
||||
* Call management and duplicate call detection preferences
|
||||
*/
|
||||
@@ -224,6 +234,7 @@ public class UserPreferences implements Listener<PreferenceType>
|
||||
mDirectoryPreference = new DirectoryPreference(this::receive);
|
||||
mCallManagementPreference = new CallManagementPreference(this::receive);
|
||||
mJmbeLibraryPreference = new JmbeLibraryPreference(this::receive);
|
||||
mMapPreference = new MapPreference(this::receive);
|
||||
mMP3Preference = new MP3Preference(this::receive);
|
||||
mPlaybackPreference = new PlaybackPreference(this::receive);
|
||||
mPlaylistPreference = new PlaylistPreference(this::receive, mDirectoryPreference);
|
||||
|
||||
Reference in New Issue
Block a user