Ignore:
Timestamp:
2010-11-14T17:36:38+01:00 (15 years ago)
Author:
upliner
Message:

'Add getDx() and getDy() methods to WMSLayer to enable other plugins to determine WMS layer shift, see #5565'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wmsplugin/src/wmsplugin/WMSLayer.java

    r23207 r24221  
    265265    }
    266266
     267    public double getDx() {
     268        return dx;
     269    }
     270
     271    public double getDy() {
     272        return dy;
     273    }
     274
    267275    public int getImageXIndex(double coord) {
    268276        return (int)Math.floor( ((coord - dx) * info.pixelPerDegree) / imageSize);
Note: See TracChangeset for help on using the changeset viewer.