Ignore:
Timestamp:
2009-06-26T22:22:00+02:00 (16 years ago)
Author:
jttt
Message:

Use getter for Node.coor and Node.eastNorth

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

Legend:

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

    r14015 r16163  
    2626                <attribute name="Plugin-Description" value="Imports issues from OpenStreetBugs"/>
    2727                <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/OpenStreetBugs"/>
    28                 <attribute name="Plugin-Mainversion" value="1465"/>
     28                <attribute name="Plugin-Mainversion" value="1638"/>
    2929                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3030            </manifest>
  • applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java

    r14817 r16163  
    125125            }
    126126
    127             Point p = mv.getPoint(node.eastNorth);
     127            Point p = mv.getPoint(node.getEastNorth());
    128128
    129129            ImageIcon icon = OsbPlugin.loadIcon("icon_error16.png");
     
    200200            if (n.deleted || n.incomplete)
    201201                continue;
    202             Point sp = Main.map.mapView.getPoint(n.eastNorth);
     202            Point sp = Main.map.mapView.getPoint(n.getEastNorth());
    203203            double dist = p.distanceSq(sp);
    204204            if (minDistanceSq > dist && p.distance(sp) < snapDistance) {
  • applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/OsbDialog.java

    r15960 r16163  
    258258    public void zoomToNode(Node node) {
    259259        double scale = Main.map.mapView.getScale();
    260         Main.map.mapView.zoomTo(node.eastNorth, scale);
     260        Main.map.mapView.zoomTo(node.getEastNorth(), scale);
    261261    }
    262262
Note: See TracChangeset for help on using the changeset viewer.