Changeset 14273 in josm for trunk/src/org/openstreetmap/josm/gui/MapViewState.java
- Timestamp:
- 2018-09-26T18:29:26+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapViewState.java
r14120 r14273 362 362 * <p> 363 363 * The view is moved so that the center is the same as the old center. 364 * @param posit on The new location to use.364 * @param position The new location to use. 365 365 * @return The new state. 366 366 * @since 10375 367 367 */ 368 public MapViewState usingLocation(JComponent posit on) {368 public MapViewState usingLocation(JComponent position) { 369 369 EastNorth center = this.getCenter().getEastNorth(); 370 return new MapViewState(posit on, this).usingCenter(center);370 return new MapViewState(position, this).usingCenter(center); 371 371 } 372 372 … … 541 541 /** 542 542 * Gets the direction in which this point is outside of the given view rectangle. 543 * @param rect The rectangle to check agains .543 * @param rect The rectangle to check against. 544 544 * @return The direction in which it is outside of the view, as OUTSIDE_... flags. 545 545 * @since 10827
Note:
See TracChangeset
for help on using the changeset viewer.