Changeset 8803 in josm for trunk/src/org
- Timestamp:
- 2015-09-29T18:56:18+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/io/session
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/session/ImagerySessionExporter.java
r8526 r8803 88 88 data.put("show-errors", Boolean.toString(tsLayer.showErrors)); 89 89 } 90 data.put("dx", String.valueOf(layer.getDx())); 91 data.put("dy", String.valueOf(layer.getDy())); 90 92 for (Map.Entry<String, String> entry : data.entrySet()) { 91 93 Element attrElem = support.createElement(entry.getKey()); -
trunk/src/org/openstreetmap/josm/io/session/ImagerySessionImporter.java
r8530 r8803 60 60 } 61 61 } 62 if (attributes.containsKey("dx") && attributes.containsKey("dy")) { 63 layer.setOffset(Double.parseDouble(attributes.get("dx")), Double.parseDouble(attributes.get("dy"))); 64 } 62 65 return layer; 63 66 }
Note:
See TracChangeset
for help on using the changeset viewer.