Changeset 24221 in osm for applications/editors/josm


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

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

Location:
applications/editors/josm/plugins/wmsplugin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/wmsplugin/.classpath

    r22779 r24221  
    33        <classpathentry kind="src" path="src"/>
    44        <classpathentry including="images/" kind="src" path=""/>
    5         <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JDK 6"/>
    65        <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
    76        <classpathentry combineaccessrules="false" kind="src" path="/remotecontrol"/>
     7        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
    88        <classpathentry kind="output" path="build"/>
    99</classpath>
  • applications/editors/josm/plugins/wmsplugin/build.xml

    r23207 r24221  
    2828
    2929
    30         <property name="commit.message" value="fixed josm bug 4671 - wms url for sicily has changed" />
     30        <property name="commit.message" value="Add getDx() and getDy() methods to WMSLayer to enable other plugins to determine WMS layer shift, see #5565" />
    3131        <property name="plugin.main.version" value="3530" />
    3232
  • 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.