Changeset 35978 in osm for applications/editors/josm/plugins/CommandLine/src
- Timestamp:
- 2022-06-15T20:10:48+02:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/CommandLine/src/org/openstreetmap/josm/plugins/commandline/LengthAction.java
r35976 r35978 20 20 import org.openstreetmap.josm.actions.mapmode.MapMode; 21 21 import org.openstreetmap.josm.data.Bounds; 22 import org.openstreetmap.josm.data.coor.ILatLon; 22 23 import org.openstreetmap.josm.data.coor.LatLon; 23 24 import org.openstreetmap.josm.data.osm.Node; … … 149 150 150 151 private void drawingFinish() { 151 parentPlugin.loadParameter(String.valueOf(startCoor.greatCircleDistance( endCoor)), true);152 parentPlugin.loadParameter(String.valueOf(startCoor.greatCircleDistance((ILatLon) endCoor)), true); 152 153 drawStartPos = null; 153 154 drawing = false; … … 191 192 endCoor = map.mapView.getLatLon(drawEndPos.x, drawEndPos.y); 192 193 if (drawing) { 193 map.statusLine.setDist(startCoor.greatCircleDistance( endCoor));194 map.statusLine.setDist(startCoor.greatCircleDistance((ILatLon) endCoor)); 194 195 map.mapView.repaint(); 195 196 }
Note:
See TracChangeset
for help on using the changeset viewer.