[josm-dev] Small patch for "Zoom to selection" combined with projection Lambert
Dirk Stöcker
openstreetmap at dstoecker.de
Sat Aug 16 17:33:07 BST 2008
On Sat, 16 Aug 2008, Pieren wrote:
> could someone with a write access to the Josm core repository commit the
> following (small) patch fixing an issue when Lambert projection is enabled.
> Again, the problem is that the code uses an initial value with LatLon(0,0)
> when we execute the "zoom to selection" menu action.
>
> I've attached the diff file as recommended but here is also the quick view
> of the change (in file org.openstreetmap.josm.actions.AutoScaleAction.java)
Nothing attached.
> replace this line:
> EastNorth en = Main.proj.latlon2eastNorth(new LatLon(0.001, 0.001));
> by this one:
> EastNorth en = new EastNorth(0,0);
Nevertheless applied.
Ciao
--
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev
mailing list