Changeset 17565 in josm


Ignore:
Timestamp:
2021-03-16T18:15:25+01:00 (3 years ago)
Author:
Don-vip
Message:

fix #20598 - see #20363 - Use getPos instead of getExifCoor (patch by taylor.smock)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/gpx/GpxImageEntry.java

    r17553 r17565  
    552552    public BBox getBBox() {
    553553        // new BBox(LatLon) is null safe.
    554         return new BBox(this.getExifCoor());
     554        // Use `getPos` instead of `getExifCoor` since the image may be coorelated against a GPX track
     555        return new BBox(this.getPos());
    555556    }
    556557
Note: See TracChangeset for help on using the changeset viewer.