Changeset 34888 in osm
- Timestamp:
- 2019-02-12T13:18:12+01:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/OSMRecPlugin/src/org/openstreetmap/josm/plugins/osmrec/container/OSMWay.java
r32404 r34888 10 10 import java.util.TreeMap; 11 11 12 import com.vividsolutions.jts.geom.Coordinate;13 12 import com.vividsolutions.jts.geom.Geometry; 14 13 … … 28 27 private final List<String> nodeReferences = new ArrayList<>(); //node references //made final 29 28 private final List<Geometry> nodeGeometries = new ArrayList<>(); //nodeGeometries //made final 30 private Coordinate[] coordinateList;31 29 private Map<String, String> tags = new HashMap<>(); 32 30 private Geometry geometry; … … 45 43 public List<Geometry> getNodeGeometries() { 46 44 return nodeGeometries; 47 }48 49 public Coordinate[] getCoordinateList() {50 coordinateList = nodeGeometries.toArray(new Coordinate[0]);51 return coordinateList;52 45 } 53 46
Note:
See TracChangeset
for help on using the changeset viewer.