public interface GeoMapIfc
| Modifier and Type | Method and Description |
|---|---|
void |
addSpecificTrackStripe(java.lang.String identifier)
Add the identifier of a single station or object whose track stripe is to be plotted.
|
void |
clearAllSpecificTrackStripes()
Clear the plotting of all specific station/object track stripes.
|
void |
displayAttentionAlert(double latitude,
double longitude,
AX25Message.Precedence precedence)
Display an AttentionAlert (flashing arrows) on the map for a particular position.
|
void |
displayLocateAmenityDialog()
Display the Locate Amenity dialog, and handle user input to it.
|
void |
displayLocateLandmarkDialog()
Display the Locate Landmark dialog, and handle user input to it.
|
void |
editTopoColors()
Invoke an editor for adjusting the colors and elevation thresholds used to render topographic map layers.
|
double |
getCenterLatitude()
Get the latitude of the current center of the map.
|
double |
getCenterLongitude()
Get the longitude of the current center of the map.
|
long |
getLastElapsedPaintTime()
Return the amount of time (in milliseconds) for the last station render.
|
int |
getLastNumDrawnObjects()
Return the number of Objects (non-transmitters) rendered in the last station render.
|
int |
getLastNumDrawnStations()
Return the number of stations (transmitters) rendered in the last station render.
|
long |
getMaxAgeDRObject()
Get the maximum time that dead reckoning will be projected for an object (non-self-transmitter).
|
long |
getMaxAgeDRSpecialObject() |
long |
getMaxAgeDRStation()
Get the maximum time that dead reckoning will be projected for a station (self-transmitter).
|
long |
getMaxTrackDuration()
Get the maximum duration of a track stripe in milliseconds.
|
float |
getScale()
Get the current scale factor of the map.
|
boolean |
isAutoLoadMapTiles()
Report whether map tiles will be auto-downloaded (if the author's website can be reached) for any tiles
that have not already been downloaded.
|
boolean |
isDrawAge()
Report whether the time interval since last receipt of a message from or
about a station or object is plotted below the station/object's name.
|
boolean |
isDrawAliasInsteadOfCallsign()
Report whether alias should be drawn instead of callsign should be drawn for each station/object
if an alias is defined for the station/object..
|
boolean |
isDrawAllTrackStripes()
Indicate whether all moving stations should have track stripes plotted.
|
boolean |
isDrawAlohaCircle()
Report whether aloha circles (optimal maximum RF transmission range for the
local station before causing excessive collisions) are plotted on the map.
|
boolean |
isDrawAmbiguityCircle()
Report whether a translucent ambiguity circle is drawn behind each
station or object to indicate the area over which it could be located, given
the precision of the position information reported.
|
boolean |
isDrawCallsign()
Report whether callsign label should be drawn for each station/object.
|
boolean |
isDrawDeadObjects()
Report whether Objects that have been "killed" are plotted on the map.
|
boolean |
isDrawDeadReckoning()
Report whether deadreckoning position updates for moving stations and objects are
calculated and the positions offset and deadreckoning vectors plotted when the stations
and objecfts are drawn.
|
boolean |
isDrawDF()
Report whether direction-finding cones are plotted from stations
reporting DFS vector information
|
boolean |
isDrawDoubleSizedSymbols()
Report if symbols are being drawn double-sized.
|
boolean |
isDrawItemStatus()
Report whether a color-coded "halo" is drawn around each station or object icon indicating
its status as one of the APRSdos categories: fixed, mobile, deadreckoned, old,
emergency-reporting, locally-controlled Object, or other station's Object.
|
boolean |
isDrawMicEStatusCircles()
Report whether color-coded circles indicating Mic-E status codes
are be drawn around stations reporting those codes.
|
boolean |
isDrawNWSMultiLine()
Report whether encoded polylines (generally used for National Weather Service
severe weather regions) are plotted on the map.
|
boolean |
isDrawRangeCircles()
Report whether radio range circles are being drawn for stations reporting
or implying transmission range limits.
|
boolean |
isDrawSelf()
Report whether the local station is plotted on the map.
|
boolean |
isDrawSelfLikeOther()
Report whether local station is drawn like any other station (using its
APRS symbol icon) or as crosshairs or a pointer making it obvious where the
station is on the map.
|
boolean |
isDrawWeatherAsWeather()
Report whether weather stations are drawn as old-style weather map
circles with a flagged barb indicating wind direction and speed.
|
boolean |
isGraticuleVisible()
Indicate whether the graticule (latitude/longitude grid lines) are displayed on the map.
|
boolean |
isKeepSpecificallyTrackedStationsOnScreen()
Report whether the map should auto-pan to keep specifically tracked mobile stations on the map.
|
boolean |
isMapAutoCentered()
Report whether the map should automatically pan to keep the local station
centered on the map.
|
boolean |
isNightMode()
Report if the displays are in night mode.
|
boolean |
isShowLabelsInEnglish()
Report whether map labels should be displayed in English if the default name is in some other locale
and OpenStreetMap provides an English translation.
|
boolean |
isShowTopoContours()
Report whether the topographic map should be rendered as contour lines.
|
boolean |
isShowTopoRegions()
Report whether the topographic map overlay should be displayed as filled regions.
|
boolean |
isShowUnlabeledWays()
Report if unlabeled and untyped map features should be displayed.
|
boolean |
isSpecificallyTracked(java.lang.String identifier)
Test if a given identifier is on the tracking list.
|
boolean |
isSpecificallyTracking()
Test if any identifiers are on the tracking list.
|
void |
loadDrawing()
Load drawing overlay.
|
void |
loadGpsLog()
Load a GPS file into a map overlay.
|
void |
locateASpecificStation(java.util.ArrayList<StationState> matchList,
java.lang.String callsign)
Locate a specific station on the map window.
|
void |
moveObject(StationState ss,
ObjectReport or,
MoveObjectListener moveObjectListener)
Graphically drag a station or object across the map to a new location, updating
the object's position appropriately and converting a station to an object if needed.
|
void |
refresh()
Force the map to immediately regenerate itself based on current state data.
|
void |
regenerateStations()
Force the station renderer layer to regenerate its overlay immediately.
|
void |
regenerateTopo()
Force the topographic layer to regenerate its overlay immediately.
|
boolean |
removeSpecificTrackStripe(java.lang.String identifier)
Remove the identifier of a single station or object whose track stripe is no longer to be plotted.
|
void |
setAutoLoadMapTiles(boolean autoLoadMapTiles)
Specify whether missing OpenStreetMap imported tiles should be automatically downloaded from the author's
website.
|
void |
setCenter(double lat,
double lon)
Set the current center position of the map.
|
void |
setCenter(com.bbn.openmap.proj.coords.LatLonPoint p)
Set the current center position of the map.
|
void |
setDrawAge(boolean drawAge)
Specify whether the time interval since last receipt of a message from or
about a station or object should be plotted below the station/object's name.
|
void |
setDrawAliasInsteadOfCallsign(boolean drawAliasInsteadOfCallsign)
Specify whether alias should be drawn instead of callsign should be drawn for each station/object
if an alias is defined for the station/object..
|
void |
setDrawAllTrackStripes(boolean drawAllTrackStripes)
Specify whether all moving stations should have track stripes plotted.
|
void |
setDrawAlohaCircle(boolean drawAlohaCircle)
Specify whether aloha circles (optimal maximum RF transmission range for the
local station before causing excessive collisions) should be plotted on the map.
|
void |
setDrawAmbiguityCircle(boolean drawAmbiguityCircle)
Specify whether a translucent ambiguity circle should be drawn behind each
station or object to indicate the area over which it could be located, given
the precision of the position information reported.
|
void |
setDrawCallsign(boolean drawCallsign)
Specify whether callsign labels should be drawn for each station/object.
|
void |
setDrawDeadObjects(boolean drawDeadObjects)
Specify whether Objects that have been "killed" should still be plotted on
the map.
|
void |
setDrawDeadReckoning(boolean drawDeadReckoning)
Specify whether deadreckoning position updates for moving stations and objects should be
calculated and the positions offset and deadreckoning vectors plotted when the stations
and objecfts are drawn.
|
void |
setDrawDF(boolean drawDF)
Specify whether direction-finding cones should be plotted from stations
reporting DFS vector information
|
void |
setDrawDoubleSizedSymbols(boolean drawDoubleSizedSymbols)
Specify whether symbols should be drawn double-sized (32x32 pixels) instead of single-sized (16x16).
|
void |
setDrawItemStatus(boolean drawItemStatus)
Specify whether a color-coded "halo" should be drawn around each station or object icon indicating
its status as one of the APRSdos categories: fixed, mobile, deadreckoned, old,
emergency-reporting, locally-controlled Object, or other station's Object.
|
void |
setDrawMicEStatusCircles(boolean drawMicEStatusCircles)
Specify whether color-coded circles indicating Mic-E status codes
should be drawn around stations reporting those codes.
|
void |
setDrawNWSMultiLine(boolean drawNWSMultiLine)
Specify whether encoded polylines (generally used for National Weather Service
severe weather regions) should be plotted on the map.
|
void |
setDrawRangeCircles(boolean drawRangeCircles)
Specify whether range circles should be drawn around stations reporting
or implying transmission range limits.
|
void |
setDrawSelf(boolean drawSelf)
Specify whether the local station should be plotted on the map.
|
void |
setDrawSelfLikeOther(boolean drawSelfLikeOther)
Specify whether local station should be drawn like any other station (using its
APRS symbol icon) or as crosshairs or a pointer making it obvious where the
station is on the map.
|
void |
setDrawToolBarVisibility(boolean isVisible)
Specify whether the toolbar for the drawing tools should be visible or not.
|
void |
setDrawWeatherAsWeather(boolean drawWeatherAsWeather)
Specify whether weather stations should be drawn as old-style weather map
circles with a flagged barb indicating wind direction and speed.
|
void |
setGraticuleVisible(boolean visible)
Specify whether the graticule (latitude/longitude grid lines) are displayed on the map.
|
void |
setKeepSpecificallyTrackedStationsOnScreen(boolean keepSpecificallyTrackedStationsOnScreen)
Specify whether the map should auto-pan to keep specifically tracked mobile stations on the map.
|
void |
setMapAutoCentering(boolean isAutoCentered)
Specify whether the map should automatically pan to keep the local station
centered on the map.
|
void |
setMaxAgeDRObject(long maxAgeDRObject)
Set the maximum time that dead reckoning will be projected for an object (non-self-transmitter).
|
void |
setMaxAgeDRSpecialObject(long maxAgeDRSpecialObject) |
void |
setMaxAgeDRStation(long maxAgeDRStation)
Set the maximum time that dead reckoning will be projected for a station (self-transmitter).
|
void |
setMaxTrackDuration(long maxTrackDuration)
Set the maximum duration of a track stripe in milliseconds.
|
void |
setMemoryGCPanelVisible(boolean visible)
Change the visibility of the memory usage status monitor.
|
void |
setNightMode(boolean isNight)
Specify that the displays should be in night mode (black backgrounds with white text/lines, for not
ruining the night vision of the operator).
|
void |
setScale(float scale)
Change the scale of the map.
|
void |
setShowLabelsInEnglish(boolean showLabelsInEnglish)
Specify whether map labels should be displayed in English if the default name is in some other locale
and OpenStreetMap provides an English translation.
|
void |
setShowTopoContours(boolean visible)
Specify whether the topographic map overlay should be rendered as contour lines.
|
void |
setShowTopoRegions(boolean visible)
Specify whether the topographic map overlay should be rendered as filled region.
|
void |
setShowUnlabeledWays(boolean showUnlabeledWays)
Specify if unlabeled and untyped map features should be displayed.
|
void |
setVisible(boolean visible)
Specify whether the main (map) display window should be visible.
|
void |
showLayerSelectorTool()
Display the dialog for selecting which parts of the OpenStreetMap database should be
rendered on the map.
|
void |
showRasterMapDialog()
Display the dialog for managing raster map images overlays on the map window.
|
void |
startLineOfSight()
Enable defining a line of sight between two points on the map.
|
void |
startLineOfSightFromMe(int mouseX,
int mouseY)
Show the line of sight between this station's position and the position clicked on the map,
updating this station's end of the line if it moves.
|
void |
startLineOfSightFromMe(StationState ss)
Show the line of sight between this station's position and the station or object clicked on the map,
updating both ends of the line if either moves.
|
void |
toFront()
Push the map GUI window to the foreground by whatever means the underlying GUI toolkit uses.
|
void setVisible(boolean visible)
visible - boolean true if map window should be visible, false if notvoid toFront()
boolean isMapAutoCentered()
void setMapAutoCentering(boolean isAutoCentered)
isAutoCentered - boolean true if map should auto-center, false otherwisevoid setScale(float scale)
scale - new scaling factorfloat getScale()
void setCenter(double lat,
double lon)
lat - latitude in degrees Northlon - longitude in degrees Eastvoid setCenter(com.bbn.openmap.proj.coords.LatLonPoint p)
p - LatLonPoint for new centerdouble getCenterLatitude()
double getCenterLongitude()
void setNightMode(boolean isNight)
isNight - boolean true if should be in night modeboolean isNightMode()
void showLayerSelectorTool()
void showRasterMapDialog()
void refresh()
void regenerateTopo()
void regenerateStations()
void setMemoryGCPanelVisible(boolean visible)
visible - boolean true if memory status monitor should be visiblevoid locateASpecificStation(java.util.ArrayList<StationState> matchList, java.lang.String callsign)
matchList - ArrayList of StationStates to locatecallsign - String callsign of the located stationvoid displayLocateLandmarkDialog()
void displayLocateAmenityDialog()
void loadDrawing()
void loadGpsLog()
void displayAttentionAlert(double latitude,
double longitude,
AX25Message.Precedence precedence)
latitude - double fractional degrees Northlongitude - double fraction degrees Eastprecedence - code for color level to use; ROUTINE is used for station locatesvoid moveObject(StationState ss, ObjectReport or, MoveObjectListener moveObjectListener)
ss - StationState object describing the station or objector - ObjectReport to be modified by the movemoveObjectListener - MoveObjectListener to inform when movement is overvoid setDrawToolBarVisibility(boolean isVisible)
isVisible - boolean true if draw toolbar should be shownboolean isGraticuleVisible()
void setGraticuleVisible(boolean visible)
visible - boolean true if graticule is displayedboolean isShowTopoRegions()
void setShowTopoRegions(boolean visible)
visible - boolean true if topographic layer should be rendered as regionsboolean isShowTopoContours()
void setShowTopoContours(boolean visible)
visible - boolean true if topographic layer should be rendered as contour linesvoid editTopoColors()
boolean isShowUnlabeledWays()
void setShowUnlabeledWays(boolean showUnlabeledWays)
showUnlabeledWays - boolean true if unlabeled/untyped map elements should be plottedboolean isShowLabelsInEnglish()
void setShowLabelsInEnglish(boolean showLabelsInEnglish)
showLabelsInEnglish - boolean true if English labels should be usedboolean isAutoLoadMapTiles()
void setAutoLoadMapTiles(boolean autoLoadMapTiles)
autoLoadMapTiles - boolean true to enable auto-downloadvoid startLineOfSight()
void startLineOfSightFromMe(int mouseX,
int mouseY)
mouseX - int horizontal pixel coordinate in mapmouseY - int vertical pixel coordinate in mapvoid startLineOfSightFromMe(StationState ss)
ss - StationState of station or object to trace the path toboolean isDrawRangeCircles()
void setDrawRangeCircles(boolean drawRangeCircles)
drawRangeCircles - boolean true if range circles should be drawnboolean isDrawMicEStatusCircles()
void setDrawMicEStatusCircles(boolean drawMicEStatusCircles)
drawMicEStatusCircles - boolean true if Mic-E status color circles should be drawnboolean isDrawSelf()
void setDrawSelf(boolean drawSelf)
drawSelf - boolean true if local station should be drawnboolean isDrawSelfLikeOther()
isDrawSelf()void setDrawSelfLikeOther(boolean drawSelfLikeOther)
drawSelfLikeOther - boolean true to use APRS symbol, or false to use crosshairs
for fixed station or pointer arrowhead for moving stationsetDrawSelf(boolean)boolean isDrawWeatherAsWeather()
void setDrawWeatherAsWeather(boolean drawWeatherAsWeather)
drawWeatherAsWeather - boolean true if weather stations should be plotted
with weather map symbols, false if using APRS iconboolean isDrawAge()
void setDrawAge(boolean drawAge)
drawAge - boolean true if age is to be plottedboolean isDrawDeadObjects()
void setDrawDeadObjects(boolean drawDeadObjects)
drawDeadObjects - boolean true if "killed" Objects should be plottedboolean isDrawAlohaCircle()
void setDrawAlohaCircle(boolean drawAlohaCircle)
drawAlohaCircle - boolean true if aloha circles should be drawnboolean isDrawItemStatus()
StationState.SpecialStatevoid setDrawItemStatus(boolean drawItemStatus)
drawItemStatus - boolean true if status halo should be drawmStationState.SpecialStateboolean isDrawAmbiguityCircle()
void setDrawAmbiguityCircle(boolean drawAmbiguityCircle)
drawAmbiguityCircle - boolean true if ambiguity circles should be plottedboolean isDrawDeadReckoning()
void setDrawDeadReckoning(boolean drawDeadReckoning)
drawDeadReckoning - boolean true if deadreckoning should be plottedlong getMaxAgeDRStation()
void setMaxAgeDRStation(long maxAgeDRStation)
maxAgeDRStation - maximum dead reckon interval in millisecondslong getMaxAgeDRObject()
void setMaxAgeDRObject(long maxAgeDRObject)
maxAgeDRObject - maximum dead reckon interval in millisecondslong getMaxAgeDRSpecialObject()
void setMaxAgeDRSpecialObject(long maxAgeDRSpecialObject)
boolean isDrawDF()
void setDrawDF(boolean drawDF)
drawDF - boolean true if direction-finding cones should be drawmboolean isDrawNWSMultiLine()
void setDrawNWSMultiLine(boolean drawNWSMultiLine)
drawNWSMultiLine - boolean true if multilines should be plottedboolean isDrawCallsign()
void setDrawCallsign(boolean drawCallsign)
drawCallsign - boolean true if callsign label should be drawn on mapboolean isDrawAliasInsteadOfCallsign()
void setDrawAliasInsteadOfCallsign(boolean drawAliasInsteadOfCallsign)
drawAliasInsteadOfCallsign - boolean true if alias should be drawn instead of callsignboolean isDrawAllTrackStripes()
void setDrawAllTrackStripes(boolean drawAllTrackStripes)
drawAllTrackStripes - boolean true if all moving stations should have track stripesboolean isKeepSpecificallyTrackedStationsOnScreen()
void setKeepSpecificallyTrackedStationsOnScreen(boolean keepSpecificallyTrackedStationsOnScreen)
keepSpecificallyTrackedStationsOnScreen - boolean true if map should pan to keep tracked stations on the mapvoid clearAllSpecificTrackStripes()
void addSpecificTrackStripe(java.lang.String identifier)
identifier - String station or object identifierboolean removeSpecificTrackStripe(java.lang.String identifier)
identifier - String station or object identifierboolean isSpecificallyTracked(java.lang.String identifier)
identifier - String station or object identifierboolean isSpecificallyTracking()
long getMaxTrackDuration()
void setMaxTrackDuration(long maxTrackDuration)
maxTrackDuration - maximum plotted track duration in millisecondsboolean isDrawDoubleSizedSymbols()
void setDrawDoubleSizedSymbols(boolean drawDoubleSizedSymbols)
drawDoubleSizedSymbols - boolean true if symbols should be rendered double-sizelong getLastElapsedPaintTime()
int getLastNumDrawnObjects()
int getLastNumDrawnStations()