Changeset 34209 in osm for applications
- Timestamp:
- 2018-05-21T03:20:16+02:00 (6 years ago)
- Location:
- applications/editors/josm/plugins/imagery_offset_db
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/build.xml
r33774 r34209 5 5 <property name="commit.message" value="Imagery Offset Database"/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value="1 2840"/>7 <property name="plugin.main.version" value="13797"/> 8 8 <property name="plugin.canloadatruntime" value="true"/> 9 9 -
applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetTools.java
r33547 r34209 95 95 EastNorth offsetPos = proj.latlon2eastNorth(offset.getImageryPos()); 96 96 EastNorth offsetXY = new EastNorth(center.getX() - offsetPos.getX(), center.getY() - offsetPos.getY()); 97 OffsetBookmark b = new OffsetBookmark(proj.toCode(), offset.getImagery(), "Autogenerated",97 OffsetBookmark b = new OffsetBookmark(proj.toCode(), null, offset.getImagery(), "Autogenerated", 98 98 offsetXY.getX(), offsetXY.getY(), offset.getPosition().lon(), offset.getPosition().lat()); 99 99 return b; -
applications/editors/josm/plugins/imagery_offset_db/src/iodb/ImageryOffsetWatcher.java
r33774 r34209 261 261 // apply offset 262 262 OffsetBookmark bookmark = new OffsetBookmark(Main.getProjection().toCode(), 263 layer.getName(), "Restored", dparts[2], dparts[3]);263 null, layer.getName(), "Restored", dparts[2], dparts[3]); 264 264 layer.getDisplaySettings().setOffsetBookmark(bookmark); 265 265 return;
Note:
See TracChangeset
for help on using the changeset viewer.