Package | Description |
---|---|
org.openstreetmap.josm |
Provides the classes of JOSM application.
|
org.openstreetmap.josm.actions |
Provides the classes for JOSM user actions.
|
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
org.openstreetmap.josm.io.session |
Modifier and Type | Method and Description |
---|---|
void |
Main.addLayer(Layer layer,
ViewportData viewport)
Add a new layer to the map.
|
void |
Main.createMapFrame(Layer firstLayer,
ViewportData viewportData)
Deprecated.
Not supported. MainPanel does this automatically.
|
Modifier and Type | Field and Description |
---|---|
private ViewportData |
SessionLoadAction.Loader.viewport |
Modifier and Type | Field and Description |
---|---|
protected ViewportData |
NavigatableComponent.initialViewport |
Modifier and Type | Method and Description |
---|---|
void |
MapView.scheduleZoomTo(ViewportData viewportData)
Schedule a zoom to the given position on the next redraw.
|
void |
NavigatableComponent.zoomTo(ViewportData viewport) |
Constructor and Description |
---|
MapFrame(javax.swing.JPanel contentPane,
ViewportData viewportData)
Constructs a new
MapFrame . |
MapView(MainLayerManager layerManager,
javax.swing.JPanel contentPane,
ViewportData viewportData)
Constructs a new
MapView . |
Modifier and Type | Field and Description |
---|---|
private ViewportData |
SessionReader.viewport |
Modifier and Type | Method and Description |
---|---|
ViewportData |
SessionReader.getViewport()
Return the viewport (map position and scale).
|