Changeset 18927 in josm for trunk/src/org
- Timestamp:
- 2023-12-27T22:09:21+01:00 (11 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/markerlayer/MarkerLayer.java
r18613 r18927 76 76 /** 77 77 * A layer holding markers. 78 * 78 * <p> 79 79 * Markers are GPS points with a name and, optionally, a symbol code attached; 80 80 * marker layers can be created from waypoints when importing raw GPS data, 81 81 * but they may also come from other sources. 82 * 82 * <p> 83 83 * The symbol code is for future use. 84 * 84 * <p> 85 85 * The data is read only. 86 86 */ … … 95 95 private Marker currentMarker; 96 96 public AudioMarker syncAudioMarker; 97 private Color color, realcolor; 97 private Color color; 98 private Color realcolor; 98 99 final int markerSize = new IntegerProperty("draw.rawgps.markers.size", 4).get(); 99 100 final BasicStroke markerStroke = new StrokeProperty("draw.rawgps.markers.stroke", "1").get(); … … 523 524 public List<? extends IImageEntry<?>> getSelection() { 524 525 if (this.currentMarker instanceof ImageMarker) { 525 return Collections.singletonList(((ImageMarker) this.currentMarker).getRemoteEntry()); 526 final RemoteEntry remoteEntry = ((ImageMarker) this.currentMarker).getRemoteEntry(); 527 if (remoteEntry != null) { 528 return Collections.singletonList(remoteEntry); 529 } 526 530 } 527 531 return Collections.emptyList();
Note:
See TracChangeset
for help on using the changeset viewer.