Changeset 12439 in josm for trunk/src/org
- Timestamp:
- 2017-06-28T01:00:20+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/GeoJSONWriter.java
r12092 r12439 107 107 if (w != null) { 108 108 final JsonArrayBuilder array = getCoorsArray(w.getNodes()); 109 if ( ElemStyles.hasAreaElemStyle(w, false)) {109 if (w.isClosed() && ElemStyles.hasAreaElemStyle(w, false)) { 110 110 final JsonArrayBuilder container = Json.createArrayBuilder().add(array); 111 111 geomObj.add("type", "Polygon");
Note:
See TracChangeset
for help on using the changeset viewer.