adams.flow.sink.OpenStreetMapViewer
Displays data layers (markers, rectangles and polygons) on top of a map provided by OpenStreetMap.
The org.openstreetmap.gui.jmapviewer.JMapViewerTree no longer obtains the tiles and requires replacing.
Flow input/output:
- input: org.openstreetmap.gui.jmapviewer.interfaces.MapMarker, org.openstreetmap.gui.jmapviewer.interfaces.MapMarker[], org.openstreetmap.gui.jmapviewer.interfaces.MapPolygon, org.openstreetmap.gui.jmapviewer.interfaces.MapPolygon[], org.openstreetmap.gui.jmapviewer.interfaces.MapRectangle, org.openstreetmap.gui.jmapviewer.interfaces.MapRectangle[]
Uses the JMapViewer component:
http://wiki.openstreetmap.org/wiki/JMapViewer
The logging level for outputting errors and debugging output.
command-line | -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> |
default | WARNING |
The name of the actor.
command-line | -name <java.lang.String> |
default | OpenStreetMapViewer |
The annotations to attach to this actor.
command-line | -annotation <adams.core.base.BaseAnnotation> |
default |
|
If set to true, transformation is skipped and the input token is just forwarded as it is.
command-line | -skip <boolean> |
default | false |
If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors.
command-line | -stop-flow-on-error <boolean> |
default | false |
If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well.
command-line | -silent <boolean> |
default | false |
If enabled uses just the name for the title instead of the actor's full name.
command-line | -short-title <boolean> |
default | false |
Determines how to show the display, eg as standalone frame (default) or in the Flow editor window.
command-line | -display-type <adams.flow.core.displaytype.AbstractDisplayType> |
default | adams.flow.core.displaytype.Default |
The width of the dialog.
command-line | -width <int> |
default | 800 |
minimum | -1 |
The height of the dialog.
command-line | -height <int> |
default | 600 |
minimum | -1 |
The X position of the dialog (>=0: absolute, -1: left, -2: center, -3: right).
command-line | -x <int> |
default | -1 |
minimum | -3 |
The Y position of the dialog (>=0: absolute, -1: top, -2: center, -3: bottom).
command-line | -y <int> |
default | -1 |
minimum | -3 |
The writer to use for generating the graphics output.
command-line | -writer <adams.gui.print.JComponentWriter> |
default | adams.gui.print.NullWriter |
The provider for generating the tile source.
command-line | -tile-source <adams.flow.sink.openstreetmapviewer.AbstractTileSourceProvider> |
default | adams.flow.sink.openstreetmapviewer.OpenStreetMapSource |
The provider for generating the tile loader.
command-line | -tile-loader <adams.flow.sink.openstreetmapviewer.AbstractTileLoaderProvider> |
default | adams.flow.sink.openstreetmapviewer.OpenStreetMapLoader |
The listener for hits when the user left-clicks on map objects.
command-line | -hit-listener <adams.flow.sink.openstreetmapviewer.AbstractMapObjectHitListener> |
default | adams.flow.sink.openstreetmapviewer.NullMapObjectHitListener |
The listener for clicks on the map.
command-line | -click-listener <adams.flow.sink.openstreetmapviewer.AbstractMapClickListener> |
default | adams.flow.sink.openstreetmapviewer.NullMapClickListener |
The scheme for pruning the map objects.
command-line | -mapobject-pruner <adams.flow.sink.openstreetmapviewer.AbstractMapObjectPruner> |
default | adams.flow.sink.openstreetmapviewer.NullPruner |
The overlay for the map.
command-line | -map-overlay <adams.flow.sink.openstreetmapviewer.AbstractMapOverlay> |
default | adams.flow.sink.openstreetmapviewer.NullMapOverlay |
The initial coordinates to use.
command-line | -initial-coordinates <adams.data.gps.GPSDecimalDegrees> |
default | N0.0 W0.0 |
The initial zoom to use.
command-line | -initial-zoom <int> |
default | 0 |
minimum | 0 |
If enabled the zoom controls will get displayed.
command-line | -zoom-controls <boolean> |
default | true |
If enabled, the tile grid gets displayed.
command-line | -tile-grid <boolean> |
default | false |
The location in pixels for the divider between layer tree and map.
command-line | -divider-location <int> |
default | 150 |
minimum | 0 |
If enabled, the layer tree is displayed.
command-line | -layer-tree <boolean> |
default | false |
The label for the root of the layer tree.
command-line | -layer-tree-root <java.lang.String> |
default | Layers |
The layer names; use '.' to separate levels, eg the three layers 'A A.B A.C' will create layers B and C below A.
command-line | -layer <adams.core.base.BaseString> [-layer ...] |
default | Default |