Changeset 16163 in osm for applications/editors/josm/plugins/openstreetbugs/src
- Timestamp:
- 2009-06-26T22:22:00+02:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.