Changeset 16163 in osm for applications/editors/josm/plugins/openstreetbugs
- Timestamp:
- 2009-06-26T22:22:00+02:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/openstreetbugs
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/openstreetbugs/build.xml
r14015 r16163 26 26 <attribute name="Plugin-Description" value="Imports issues from OpenStreetBugs"/> 27 27 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/OpenStreetBugs"/> 28 <attribute name="Plugin-Mainversion" value="1 465"/>28 <attribute name="Plugin-Mainversion" value="1638"/> 29 29 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/> 30 30 </manifest> -
applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbLayer.java
r14817 r16163 125 125 } 126 126 127 Point p = mv.getPoint(node. eastNorth);127 Point p = mv.getPoint(node.getEastNorth()); 128 128 129 129 ImageIcon icon = OsbPlugin.loadIcon("icon_error16.png"); … … 200 200 if (n.deleted || n.incomplete) 201 201 continue; 202 Point sp = Main.map.mapView.getPoint(n. eastNorth);202 Point sp = Main.map.mapView.getPoint(n.getEastNorth()); 203 203 double dist = p.distanceSq(sp); 204 204 if (minDistanceSq > dist && p.distance(sp) < snapDistance) { -
applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/gui/OsbDialog.java
r15960 r16163 258 258 public void zoomToNode(Node node) { 259 259 double scale = Main.map.mapView.getScale(); 260 Main.map.mapView.zoomTo(node. eastNorth, scale);260 Main.map.mapView.zoomTo(node.getEastNorth(), scale); 261 261 } 262 262
Note:
See TracChangeset
for help on using the changeset viewer.