Ignore:
Timestamp:
2019-11-03T22:22:25+01:00 (5 years ago)
Author:
donvip
Message:

see #josm16796 - update to JOSM 15502 - use IGpxTrack in GpxData (patch by Bjoeni)

Location:
applications/editors/josm/plugins/gpsblam
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/gpsblam/build.xml

    r35214 r35221  
    55    <property name="commit.message" value="Commit message"/>
    66    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    7     <property name="plugin.main.version" value="15496"/>
     7    <property name="plugin.main.version" value="15502"/>
    88
    99    <!-- Configure these properties (replace "..." accordingly).
  • applications/editors/josm/plugins/gpsblam/src/org/openstreetmap/josm/plugins/gpsblam/GPSBlamInputData.java

    r35214 r35221  
    1010
    1111import org.openstreetmap.josm.data.coor.CachedLatLon;
    12 import org.openstreetmap.josm.data.gpx.GpxTrack;
     12import org.openstreetmap.josm.data.gpx.IGpxTrack;
    1313import org.openstreetmap.josm.data.gpx.IGpxTrackSegment;
    1414import org.openstreetmap.josm.data.gpx.WayPoint;
     
    3333        for (Layer l : layers) {
    3434            if (l.isVisible() && l instanceof GpxLayer) {
    35                 for (GpxTrack track : ((GpxLayer) l).data.tracks) {
     35                for (IGpxTrack track : ((GpxLayer) l).data.tracks) {
    3636                    for (IGpxTrackSegment segment: track.getSegments()) {
    3737                        for (WayPoint wayPoint : segment.getWayPoints()) {
Note: See TracChangeset for help on using the changeset viewer.