Changeset 26817 in osm for applications/editors/josm/plugins/ElevationProfile/src
- Timestamp:
- 2011-10-09T22:23:55+02:00 (13 years ago)
- Location:
- applications/editors/josm/plugins/ElevationProfile/src/org/openstreetmap/josm/plugins/elevation
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/ElevationProfile/src/org/openstreetmap/josm/plugins/elevation/ElevationModel.java
r26509 r26817 48 48 49 49 private List<IElevationModelListener> listeners = new ArrayList<IElevationModelListener>(); 50 private int numberOfWayPoints;51 50 52 51 public ElevationModel() { … … 225 224 buffer.add(wp); 226 225 tmpWaypoints.add(wp); 227 numberOfWayPoints++;228 226 } 229 227 -
applications/editors/josm/plugins/ElevationProfile/src/org/openstreetmap/josm/plugins/elevation/ElevationProfilePlugin.java
r26034 r26817 18 18 import org.openstreetmap.josm.gui.IconToggleButton; 19 19 import org.openstreetmap.josm.gui.MapFrame; 20 import org.openstreetmap.josm.gui.MapView;21 20 import org.openstreetmap.josm.plugins.Plugin; 22 21 import org.openstreetmap.josm.plugins.PluginInformation; -
applications/editors/josm/plugins/ElevationProfile/src/org/openstreetmap/josm/plugins/elevation/gui/ElevationProfileLayer.java
r26342 r26817 156 156 WayPoint lastWpt = null; 157 157 int lastEle = 0; 158 int index = 0;159 158 160 159 renderer.beginRendering(); … … 194 193 lastEle = (int) WayPointHelper.getElevation(wpt); 195 194 lastWpt = wpt; 196 index++;197 195 } 198 196
Note:
See TracChangeset
for help on using the changeset viewer.