[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

jmapviewer 1.03



hi GIS Team,

I took over maintainership of jmapviewer (1.02 at the time) a while ago,
and since then David Paleino updated the package to
"1.02+svn30322.really+dfsg1-1" because josm requires a newer version.

Now 1.03 has been released [1], and I need to fix this (Depends:
openjdk-7-jre => default-jre), so the question is whether I should
upgrade the package to 1.03 now (1.03 is svn30431 so the changes
necessary for josm should be included?).

The reverse dependencies are:
- josm
- freeplane (which I maintain)
- gis-osm (Suggests)

For freeplane I had to fix things a bit:

  map.setDisplayPositionByLatLon(new Point(map.getWidth() / 2,
    map.getHeight() / 2), location.getLat(), location.getLon(), zoom);

becomes:

  int x = (int)OsmMercator.LonToX(location.getLon(), zoom);
  int y = (int)OsmMercator.LatToY(location.getLat(), zoom);
  map.setDisplayPosition(new Point(map.getWidth() / 2, map.getHeight() / 2), x, y, zoom);

If you agree, then I will do this at the latest for the freeplane 1.3.x release.

[1] http://svn.openstreetmap.org/applications/viewer/jmapviewer/releases/1.03/

Cheers and Best Regards,
-- 
Felix Natter


Reply to: