Changeset 26218 in osm for applications/editors/josm
- Timestamp:
- 2011-06-30T13:33:52+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/livegps/src/livegps/LiveGpsData.java
r19680 r26218 10 10 import org.openstreetmap.josm.Main; 11 11 import org.openstreetmap.josm.data.coor.LatLon; 12 import org.openstreetmap.josm.data.osm.OsmPrimitive; 12 13 import org.openstreetmap.josm.data.osm.Way; 13 14 … … 164 165 if(way == null && Main.map != null && Main.map.mapView != null) { 165 166 Point xy = Main.map.mapView.getPoint(getLatLon()); 166 way = Main.map.mapView.getNearestWay(xy); 167 way = Main.map.mapView.getNearestWay(xy, 168 OsmPrimitive.isUsablePredicate); 167 169 } 168 170 return way;
Note:
See TracChangeset
for help on using the changeset viewer.