Changeset 29729 in osm for applications/editors/josm/plugins
- Timestamp:
- 2013-06-29T03:57:08+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/download_along/src/org/openstreetmap/josm/plugin/download_along/DownloadAlong.java
r27852 r29729 123 123 124 124 for (OsmPrimitive prim : selection) { 125 Way way = (Way) prim; 126 for (Node n : way.getNodes()) { 127 latsum += n.getCoor().lat(); 128 latcnt++; 129 } 125 if (prim instanceof Way) { 126 Way way = (Way) prim; 127 for (Node n : way.getNodes()) { 128 latsum += n.getCoor().lat(); 129 latcnt++; 130 } 131 } 130 132 } 131 133
Note:
See TracChangeset
for help on using the changeset viewer.