mirror of
https://github.com/DSheirer/sdrtrunk.git
synced 2026-11-17 02:57:35 -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:
@@ -124,6 +124,18 @@ public abstract class SpectralDisplayLayer
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates if this layer draws its own callout in place of the cursor readout for the mouse position, so the
|
||||
* frequency layer skips the readout. The callout should start with the {@link CursorReadout} lines and use its
|
||||
* placement. Called on the JavaFX application thread before the layers draw the section under the mouse.
|
||||
* @param cursor mouse position
|
||||
* @param area of the section under the mouse
|
||||
*/
|
||||
public boolean replacesCursorReadout(DisplayCursor cursor, RenderArea area)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Context menu items for a right-click at the frequency.
|
||||
* @param section that was clicked
|
||||
|
||||
Reference in New Issue
Block a user