Changeset 25934 in osm for applications/editors


Ignore:
Timestamp:
2011-05-02T20:43:55+02:00 (13 years ago)
Author:
jttt
Message:

Adapt to latest josm

Location:
applications/editors/josm/plugins/ImportImagePlugin
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/ImportImagePlugin/build.xml

    r25192 r25934  
    3333        <property name="commit.message" value="use consistent plugin name (don't mix up the words)" />
    3434        <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    35         <property name="plugin.main.version" value="3835" />
     35        <property name="plugin.main.version" value="4065" />
    3636
    3737
  • applications/editors/josm/plugins/ImportImagePlugin/src/org/openstreetmap/josm/plugins/ImportImagePlugin/ImageLayer.java

    r23305 r25934  
    184184                    .getProjectionBounds();
    185185
    186             double width = projbounds.max.getX() - projbounds.min.getX();
    187             double height = projbounds.max.getY() - projbounds.min.getY();
     186            double width = projbounds.maxEast - projbounds.minEast;
     187            double height = projbounds.maxNorth - projbounds.minNorth;
    188188
    189189            double ratio_x = (this.bbox.getMaxY() - this.bbox.getMinY())
Note: See TracChangeset for help on using the changeset viewer.