- Timestamp:
- 2016-01-16T11:49:52+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/CoordinateInfoViewer.java
r9454 r9483 339 339 } 340 340 341 final MapMarkerDot oldMarker = new MapMarkerDot(coordinates.a.lat(), coordinates.a.lon());342 final MapMarkerDot newMarker = new MapMarkerDot(coordinates.b.lat(), coordinates.b.lon());343 oldMarker.setBackColor(TwoColumnDiff.Item.DiffItemType.DELETED.getColor());344 newMarker.setBackColor(TwoColumnDiff.Item.DiffItemType.INSERTED.getColor());345 346 341 removeAllMapMarkers(); 347 addMapMarker(oldMarker); 348 addMapMarker(newMarker); 342 343 if (coordinates.a != null) { 344 final MapMarkerDot oldMarker = new MapMarkerDot(coordinates.a.lat(), coordinates.a.lon()); 345 oldMarker.setBackColor(TwoColumnDiff.Item.DiffItemType.DELETED.getColor()); 346 addMapMarker(oldMarker); 347 } 348 if (coordinates.b != null) { 349 final MapMarkerDot newMarker = new MapMarkerDot(coordinates.b.lat(), coordinates.b.lon()); 350 newMarker.setBackColor(TwoColumnDiff.Item.DiffItemType.INSERTED.getColor()); 351 addMapMarker(newMarker); 352 } 353 349 354 setDisplayToFitMapMarkers(); 350 355 }
Note:
See TracChangeset
for help on using the changeset viewer.