Ignore:
Timestamp:
2009-07-03T23:35:00+02:00 (16 years ago)
Author:
stoecker
Message:

fixes for JOSM 1725 - utilsplugin JumpToAction still missing

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

Legend:

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

    r14120 r16294  
    2626                <attribute name="Plugin-Description" value="Another plugin to match images to the waypoints in a GPX file. A match is made when the 'name', 'cmt' or 'desc' attribute of a waypoint tag matches the filename of an image."/>
    2727                <attribute name="Plugin-Early" value="false"/>
    28                 <attribute name="Plugin-Mainversion" value="1498"/>
     28                <attribute name="Plugin-Mainversion" value="1725"/>
    2929                <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
    3030            </manifest>
  • applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageEntry.java

    r13497 r16294  
    151151        bounds = null;
    152152    } else {
    153         final Point point = mapView.getPoint(this.getWayPoint().eastNorth);
     153        final Point point = mapView.getPoint(this.getWayPoint().getCoor());
    154154        bounds = new Rectangle(point.x - ImageEntry.ICON_WIDTH,
    155155        point.y - ImageEntry.ICON_HEIGHT,
  • applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointLayer.java

    r14122 r16294  
    150150                final ImageEntry imageEntry = images[index];
    151151
    152                 if (null != imageEntry.getWayPoint()
    153                 && null != imageEntry.getWayPoint().eastNorth) {
    154                     visitor.visit(imageEntry.getWayPoint().eastNorth);
    155                 }
     152                if (imageEntry.getWayPoint() != null)
     153                    visitor.visit(imageEntry.getWayPoint().getCoor());
    156154            }
    157155        }
Note: See TracChangeset for help on using the changeset viewer.