Changeset 16290 in osm for applications/editors/josm/plugins/surveyor/src
- Timestamp:
- 2009-07-03T12:34:14+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.