Changeset 16294 in osm for applications/editors/josm/plugins/imagewaypoint
- Timestamp:
- 2009-07-03T23:35:00+02:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/imagewaypoint
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagewaypoint/build.xml
r14120 r16294 26 26 <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."/> 27 27 <attribute name="Plugin-Early" value="false"/> 28 <attribute name="Plugin-Mainversion" value="1 498"/>28 <attribute name="Plugin-Mainversion" value="1725"/> 29 29 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 30 30 </manifest> -
applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageEntry.java
r13497 r16294 151 151 bounds = null; 152 152 } else { 153 final Point point = mapView.getPoint(this.getWayPoint(). eastNorth);153 final Point point = mapView.getPoint(this.getWayPoint().getCoor()); 154 154 bounds = new Rectangle(point.x - ImageEntry.ICON_WIDTH, 155 155 point.y - ImageEntry.ICON_HEIGHT, -
applications/editors/josm/plugins/imagewaypoint/src/org/insignificant/josm/plugins/imagewaypoint/ImageWayPointLayer.java
r14122 r16294 150 150 final ImageEntry imageEntry = images[index]; 151 151 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()); 156 154 } 157 155 }
Note:
See TracChangeset
for help on using the changeset viewer.