Ignore:
Timestamp:
2008-04-17T03:03:28+02:00 (16 years ago)
Author:
framm
Message:
  • new extrude mode allows creation of rectangular shapes
  • new AlignInRectangle function
  • additional information in status bar about length, heading, and angle of segment being drawn
  • helper line from last node to mouse cursor (disable with edit.helper-line=false)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java

    r582 r608  
    1 // License: GPL. Copyright 2007 by Immanuel Scholz and others
     1// License: GPL. See LICENSE file for details.
     2
    23package org.openstreetmap.josm.gui;
    34
     
    9899         */
    99100        public LatLon getLatLon(int x, int y) {
    100                 EastNorth eastNorth = new EastNorth(
    101                                 center.east() + (x - getWidth()/2.0)*scale,
    102                                 center.north() - (y - getHeight()/2.0)*scale);
    103                 return getProjection().eastNorth2latlon(eastNorth);
     101
     102                return getProjection().eastNorth2latlon(getEastNorth(x, y));
    104103        }
    105104
Note: See TracChangeset for help on using the changeset viewer.