Ticket #20598: 20598.patch

File 20598.patch, 596 bytes (added by taylor.smock, 5 years ago)

Use getPos instead of getExifCoor

  • src/org/openstreetmap/josm/data/gpx/GpxImageEntry.java

     
    551551    @Override
    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
    557558    /**