Uses of Class
org.openstreetmap.josm.gui.MapViewState
Packages that use MapViewState
Package
Description
Provides the classes for JOSM
map modes.Provides the classes for painting (rendering) OSM primitives on the map.
Provides the classes for JOSM graphical user interface.
Provides GUI classes for 2D drawing in the map.
Provides classes for handling GPX layers.
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 MapViewStateModifier and TypeMethodDescriptionvoidDrawSnapHelper.drawIfNeeded(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 MapViewStateModifier and TypeFieldDescriptionprotected final MapViewStateAbstractMapRenderer.mapStateTheMapViewStateto use to convert between coordinates.private final MapViewStateOffsetIterator.mapStateConstructors in org.openstreetmap.josm.data.osm.visitor.paint with parameters of type MapViewStateModifierConstructorDescriptionOffsetIterator(MapViewState mapState, 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 MapViewStateModifier and TypeFieldDescriptionprivate MapViewStateNavigatableComponent.stateThe current state (scale, center, ...) of this map view.Methods in org.openstreetmap.josm.gui that return MapViewStateModifier and TypeMethodDescriptionstatic MapViewStateMapViewState.createDefaultState(int width, int height) Create the defaultMapViewStateobject for the given map view.MapViewState.MapViewPoint.getMapViewState()Gets the map view state this path is used for.NavigatableComponent.getState()Gets the current view state.MapViewState.movedTo(MapViewState.MapViewPoint mapViewPoint, EastNorth newEastNorthThere) Creates a new state that is moved to an east/north coordinate.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.usingLocation(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.usingProjection(Projection projection) Creates a state that uses the projection.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 MapViewStateModifier and TypeMethodDescriptionbooleanMapViewState.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 MapViewStateModifierConstructorDescriptionprivateMapViewState(double scale, MapViewState mvs) privateMapViewState(JComponent position, MapViewState mvs) privateMapViewState(EastNorth topLeft, MapViewState mvs) privateMapViewState(Projecting projecting, MapViewState mvs) -
Uses of MapViewState in org.openstreetmap.josm.gui.draw
Fields in org.openstreetmap.josm.gui.draw declared as MapViewStateMethods in org.openstreetmap.josm.gui.draw that return MapViewStateModifier and TypeMethodDescriptionMapViewPath.getMapViewState()Gets the map view state this path is used for.Constructors in org.openstreetmap.josm.gui.draw with parameters of type MapViewStateModifierConstructorDescriptionMapViewPath(MapViewState state) Create a new path(package private)OffsetPathVisitor(MapViewState state, double offset) -
Uses of MapViewState in org.openstreetmap.josm.gui.layer.gpx
Fields in org.openstreetmap.josm.gui.layer.gpx declared as MapViewStateModifier and TypeFieldDescription(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 MapViewStateModifier and TypeMethodDescriptionprivate MapViewPositionAndRotationCompletelyInsideAreaStrategy.centerOf(MapViewState mapViewState, Rectangle centeredNBounds)