Package | Description |
---|---|
org.openstreetmap.josm.actions.mapmode |
Provides the classes for JOSM
map modes . |
org.openstreetmap.josm.data.osm.visitor.paint |
Provides the classes for painting (rendering) OSM primitives on the map.
|
org.openstreetmap.josm.gui |
Provides the classes for JOSM graphical user interface.
|
org.openstreetmap.josm.gui.draw |
Provides GUI classes for 2D drawing in the map.
|
org.openstreetmap.josm.gui.layer.gpx |
Provides classes for handling GPX layers.
|
org.openstreetmap.josm.gui.mappaint.styleelement.placement |
Label placement strategy for map paint styles.
|
Modifier and Type | Method and Description |
---|---|
void |
DrawSnapHelper.drawIfNeeded(java.awt.Graphics2D g2,
MapViewState mv)
Draw the snap hint line.
|
Modifier and Type | Field and Description |
---|---|
private MapViewState |
OffsetIterator.mapState |
protected MapViewState |
AbstractMapRenderer.mapState
The
MapViewState to use to convert between coordinates. |
Constructor and Description |
---|
OffsetIterator(MapViewState mapState,
java.util.List<? extends INode> nodes,
double offset)
Creates a new offset iterator
|
Modifier and Type | Field and Description |
---|---|
private MapViewState |
NavigatableComponent.state
The current state (scale, center, ...) of this map view.
|
Modifier and Type | Method and Description |
---|---|
static MapViewState |
MapViewState.createDefaultState(int width,
int height)
Create the default
MapViewState object for the given map view. |
MapViewState |
MapViewState.MapViewPoint.getMapViewState()
Gets the map view state this path is used for.
|
MapViewState |
NavigatableComponent.getState()
Gets the current view state.
|
MapViewState |
MapViewState.movedTo(MapViewState.MapViewPoint mapViewPoint,
EastNorth newEastNorthThere) |
MapViewState |
MapViewState.usingCenter(EastNorth newCenter)
Creates a new state that is the same as the current state except for that it is using a new center.
|
MapViewState |
MapViewState.usingLocation(javax.swing.JComponent position)
Creates a new state that is the same as the current state except for that it is using the location of the given component.
|
MapViewState |
MapViewState.usingProjection(Projection projection)
Creates a state that uses the projection.
|
MapViewState |
MapViewState.usingScale(double newScale)
Creates a new state that is the same as the current state except for that it is using a new scale.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MapViewState.equalsInWindow(MapViewState other)
Check if this MapViewState equals another one, disregarding the position
of the JOSM window on screen.
|
Constructor and Description |
---|
MapViewState(double scale,
MapViewState mvs) |
MapViewState(EastNorth topLeft,
MapViewState mvs) |
MapViewState(javax.swing.JComponent position,
MapViewState mvs) |
MapViewState(Projecting projecting,
MapViewState mvs) |
Modifier and Type | Field and Description |
---|---|
private MapViewState |
MapViewPath.state |
Modifier and Type | Method and Description |
---|---|
MapViewState |
MapViewPath.getMapViewState()
Gets the map view state this path is used for.
|
Constructor and Description |
---|
MapViewPath(MapViewState state)
Create a new path
|
OffsetPathVisitor(MapViewState state,
double offset) |
Modifier and Type | Field and Description |
---|---|
(package private) MapViewState |
GpxDrawHelper.heatMapMapViewState |
Modifier and Type | Method and Description |
---|---|
private MapViewPositionAndRotation |
CompletelyInsideAreaStrategy.centerOf(MapViewState mapViewState,
java.awt.Rectangle centeredNBounds) |