Changeset 542 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2008-02-16T10:59:29+01:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/GpxReader.java
r541 r542 20 20 import javax.xml.parsers.SAXParserFactory; 21 21 22 import org.openstreetmap.josm.Main; 22 23 import org.openstreetmap.josm.data.coor.LatLon; 23 24 import org.openstreetmap.josm.data.gpx.GpxData; … … 237 238 currentState = states.pop(); 238 239 currentTrackSeg.add(currentWayPoint); 239 if (currentWayPoint.attr.containsKey("name") || currentWayPoint.attr.containsKey("desc")) { 240 String option = "marker.namedtrackpoints"; 241 if (Main.pref.hasKey(option) && 242 Main.pref.getBoolean(option) && 243 (currentWayPoint.attr.containsKey("name") || 244 currentWayPoint.attr.containsKey("desc"))) 245 { 240 246 currentData.waypoints.add(currentWayPoint); 241 247 }
Note:
See TracChangeset
for help on using the changeset viewer.