Uses of Class
org.openstreetmap.josm.gui.MapViewState
-
Packages that use MapViewState Package Description org.openstreetmap.josm.actions.mapmode Provides the classes for JOSMmap 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. -
-
Uses of MapViewState in org.openstreetmap.josm.actions.mapmode
Methods in org.openstreetmap.josm.actions.mapmode with parameters of type MapViewState Modifier and Type Method Description void
DrawSnapHelper. drawIfNeeded(java.awt.Graphics2D g2, MapViewState mv)
Draw the snap hint line. -
Uses of MapViewState in org.openstreetmap.josm.data.osm.visitor.paint
Fields in org.openstreetmap.josm.data.osm.visitor.paint declared as MapViewState Modifier and Type Field Description protected MapViewState
AbstractMapRenderer. mapState
TheMapViewState
to use to convert between coordinates.private MapViewState
OffsetIterator. mapState
Constructors in org.openstreetmap.josm.data.osm.visitor.paint with parameters of type MapViewState Constructor Description OffsetIterator(MapViewState mapState, java.util.List<? extends INode> nodes, double offset)
Creates a new offset iterator -
Uses of MapViewState in org.openstreetmap.josm.gui
Fields in org.openstreetmap.josm.gui declared as MapViewState Modifier and Type Field Description private MapViewState
NavigatableComponent. state
The current state (scale, center, ...) of this map view.Methods in org.openstreetmap.josm.gui that return MapViewState Modifier and Type Method Description static MapViewState
MapViewState. createDefaultState(int width, int height)
Create the defaultMapViewState
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)
Creates a new state that is moved to an east/north coordinate.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.Methods in org.openstreetmap.josm.gui with parameters of type MapViewState Modifier and Type Method Description boolean
MapViewState. equalsInWindow(MapViewState other)
Check if this MapViewState equals another one, disregarding the position of the JOSM window on screen.Constructors in org.openstreetmap.josm.gui with parameters of type MapViewState Constructor Description MapViewState(double scale, MapViewState mvs)
MapViewState(javax.swing.JComponent position, MapViewState mvs)
MapViewState(EastNorth topLeft, MapViewState mvs)
MapViewState(Projecting projecting, MapViewState mvs)
-
Uses of MapViewState in org.openstreetmap.josm.gui.draw
Fields in org.openstreetmap.josm.gui.draw declared as MapViewState Modifier and Type Field Description private MapViewState
MapViewPath. state
Methods in org.openstreetmap.josm.gui.draw that return MapViewState Modifier and Type Method Description MapViewState
MapViewPath. getMapViewState()
Gets the map view state this path is used for.Constructors in org.openstreetmap.josm.gui.draw with parameters of type MapViewState Constructor Description MapViewPath(MapViewState state)
Create a new pathOffsetPathVisitor(MapViewState state, double offset)
-
Uses of MapViewState in org.openstreetmap.josm.gui.layer.gpx
Fields in org.openstreetmap.josm.gui.layer.gpx declared as MapViewState Modifier and Type Field Description (package private) MapViewState
GpxDrawHelper. heatMapMapViewState
-
Uses of MapViewState in org.openstreetmap.josm.gui.mappaint.styleelement.placement
Methods in org.openstreetmap.josm.gui.mappaint.styleelement.placement with parameters of type MapViewState Modifier and Type Method Description private MapViewPositionAndRotation
CompletelyInsideAreaStrategy. centerOf(MapViewState mapViewState, java.awt.Rectangle centeredNBounds)
-