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 voidDrawSnapHelper. 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 MapViewStateAbstractMapRenderer. mapStateTheMapViewStateto use to convert between coordinates.private MapViewStateOffsetIterator. mapStateConstructors 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 MapViewStateNavigatableComponent. stateThe current state (scale, center, ...) of this map view.Methods in org.openstreetmap.josm.gui that return MapViewState Modifier and Type Method Description static MapViewStateMapViewState. createDefaultState(int width, int height)Create the defaultMapViewStateobject for the given map view.MapViewStateMapViewState.MapViewPoint. getMapViewState()Gets the map view state this path is used for.MapViewStateNavigatableComponent. getState()Gets the current view state.MapViewStateMapViewState. movedTo(MapViewState.MapViewPoint mapViewPoint, EastNorth newEastNorthThere)Creates a new state that is moved to an east/north coordinate.MapViewStateMapViewState. usingCenter(EastNorth newCenter)Creates a new state that is the same as the current state except for that it is using a new center.MapViewStateMapViewState. 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.MapViewStateMapViewState. usingProjection(Projection projection)Creates a state that uses the projection.MapViewStateMapViewState. 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 booleanMapViewState. 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 MapViewStateMapViewPath. stateMethods in org.openstreetmap.josm.gui.draw that return MapViewState Modifier and Type Method Description MapViewStateMapViewPath. 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) MapViewStateGpxDrawHelper. 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 MapViewPositionAndRotationCompletelyInsideAreaStrategy. centerOf(MapViewState mapViewState, java.awt.Rectangle centeredNBounds)
-