Changeset 28008 in osm for applications/editors/josm/plugins/imagery_offset_db/src/iodb/StoreImageryOffsetAction.java
- Timestamp:
- 2012-03-06T21:32:44+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/imagery_offset_db/src/iodb/StoreImageryOffsetAction.java
r27986 r28008 2 2 3 3 import java.awt.event.ActionEvent; 4 import java.util.HashMap; 5 import java.util.Map; 4 6 import org.openstreetmap.josm.Main; 5 7 import org.openstreetmap.josm.actions.JosmAction; … … 20 22 21 23 public void actionPerformed(ActionEvent e) { 24 // todo: check that there is an imagery 25 // and that it is moved 22 26 Projection proj = Main.map.mapView.getProjection(); 23 27 LatLon center = proj.eastNorth2latlon(Main.map.mapView.getCenter()); … … 27 31 // todo: upload object info to server 28 32 } 33 34 private static void upload( ImageryOffsetBase offset ) { 35 String base = Main.pref.get("iodb.server.url", "http://offsets.textual.ru/"); 36 Map<String, String> params = new HashMap<String, String>(); 37 offset.putServerParams(params); 38 // todo 39 } 29 40 }
Note:
See TracChangeset
for help on using the changeset viewer.