Changeset 16290 in osm for applications/editors/josm/plugins/surveyor
- Timestamp:
- 2009-07-03T12:34:14+02:00 (16 years ago)
- Location:
- applications/editors/josm/plugins/surveyor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/surveyor/build.xml
r14015 r16290 37 37 <attribute name="Plugin-Description" value="Allow adding markers/nodes on current gps positions."/> 38 38 <attribute name="Plugin-Link" value="http://wiki.openstreetmap.org/index.php/JOSM/Plugins/Surveyor"/> 39 <attribute name="Plugin-Mainversion" value="1 326"/>39 <attribute name="Plugin-Mainversion" value="1722"/> 40 40 <attribute name="Plugin-Requires" value="livegps"/> 41 41 <attribute name="Plugin-Stage" value="60"/> -
applications/editors/josm/plugins/surveyor/src/at/dallermassl/josm/plugin/surveyor/SurveyorShowAction.java
r13497 r16290 81 81 public void actionPerformed(ActionEvent e) { 82 82 if(Main.map != null && Main.map.mapView != null) { 83 Main.map.mapView.zoomTo (Main.map.mapView.getCenter(), Main.map.mapView.getScale()*2);83 Main.map.mapView.zoomToFactor(2); 84 84 } 85 85 } … … 90 90 public void actionPerformed(ActionEvent e) { 91 91 if(Main.map != null && Main.map.mapView != null) { 92 Main.map.mapView.zoomTo (Main.map.mapView.getCenter(), Main.map.mapView.getScale()/2);92 Main.map.mapView.zoomToFactor(1/2); 93 93 } 94 94 }
Note:
See TracChangeset
for help on using the changeset viewer.