Changeset 19386 in josm
- Timestamp:
- 2025-04-22T22:20:19+02:00 (10 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapBBoxChooser.java
r18871 r19386 153 153 provider -> provider.getTileSources().stream() 154 154 ).collect(Collectors.toMap( 155 TileSource ::getId,155 ts -> getTileSourceId(ts), 156 156 ts -> ts, 157 157 (oldTs, newTs) -> oldTs, … … 160 160 } 161 161 162 /** 163 * In case the tile source has no ID, use the name 164 */ 165 private static String getTileSourceId(TileSource ts) { 166 String id = ts.getId(); 167 if (id == null) 168 id = ts.getName(); 169 return id; 170 } 171 162 172 /** 163 173 * Get the distance in meter that correspond to 100 px on screen.
Note:
See TracChangeset
for help on using the changeset viewer.