Files
sdrtrunk/src/main/java/io/github/dsheirer/map/TimestampedGeoPosition.java
Denny Sheirer f47479b8d4 #2681 JavaFX Map Redesign
#2681 Map tab as a JavaFX component

Replaces the Swing JXMapViewer map with a pure JavaFX canvas tile map in gui/map:
OpenStreetMap tiles with a memory and disk cache, track, Radio Reference site and
user location layers, the site hover card and context menu, and the map controls.
Removes the bundled SwingX map viewer copy and moves GeoPosition to the map package.

Co-authored-by: denny <dennis.sheirer@gmail.com>
2026-11-18 02:29:58 -05:00

32 lines
674 B
Java

package io.github.dsheirer.map;
/**
* Timestamped geo position
*/
public class TimestampedGeoPosition extends GeoPosition
{
private long mTimestamp;
/**
* Constructs an instance
* @param latitude for the position
* @param longitude for the position
* @param timestamp in milliseconds
*/
public TimestampedGeoPosition(GeoPosition position, long timestamp)
{
super(position.getLatitude(), position.getLongitude());
mTimestamp = timestamp;
}
/**
* Timestamp for the geo position
* @return timestamp in milliseconds.
*/
public long getTimestamp()
{
return mTimestamp;
}
}