Changeset 5108 in josm
- Timestamp:
- 2012-03-20T11:27:08+01:00 (13 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadGpsTask.java
r4721 r5108 103 103 if (rawData == null) 104 104 return; 105 rawData.recalculateBounds();106 105 String name = tr("Downloaded GPX Data"); 107 106 GpxLayer layer = new GpxLayer(rawData, name); -
trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java
r3119 r5108 83 83 } 84 84 85 // FIXME might perhaps use visitor pattern? 85 /** 86 * calculates the bounding box of available data and returns it. 87 * The bounds are not stored internally, but recalculated every time 88 * this function is called. 89 * 90 * FIXME might perhaps use visitor pattern? 91 */ 86 92 public Bounds recalculateBounds() { 87 93 Bounds bounds = null; -
trunk/src/org/openstreetmap/josm/io/NmeaReader.java
r4243 r5108 209 209 currentTrack.add(ps.waypoints); 210 210 data.tracks.add(new ImmutableGpxTrack(currentTrack, Collections.<String, Object>emptyMap())); 211 data.recalculateBounds();212 211 213 212 } catch (final IOException e) {
Note:
See TracChangeset
for help on using the changeset viewer.