Changeset 31329 in osm for applications/editors/josm/plugins/print
- Timestamp:
- 2015-07-01T22:49:33+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/print
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/print/build.xml
r30812 r31329 5 5 <property name="commit.message" value="Added a field to specify the map scale."/> 6 6 <!-- enter the *lowest* JOSM version this plugin is currently compatible with --> 7 <property name="plugin.main.version" value=" 7676"/>7 <property name="plugin.main.version" value="8554"/> 8 8 9 9 <property name="plugin.author" value="Kai Pastor"/> -
applications/editors/josm/plugins/print/src/org/openstreetmap/josm/plugins/print/PrintableMapView.java
r30737 r31329 252 252 */ 253 253 public void paintMapScale(Graphics2D g2d, PageFormat pageFormat) { 254 SystemOfMeasurement som = getSystemOfMeasurement(); 254 SystemOfMeasurement som = SystemOfMeasurement.getSystemOfMeasurement(); 255 255 double dist100px = getDist100Pixel() / g2dFactor; 256 256 double dist = dist100px / som.aValue; … … 411 411 */ 412 412 @Override 413 p rotectedList<Layer> getVisibleLayersInZOrder() {413 public List<Layer> getVisibleLayersInZOrder() { 414 414 ArrayList<Layer> layers = new ArrayList<>(); 415 415 for (Layer l: mapView.getAllLayersAsList()) {
Note:
See TracChangeset
for help on using the changeset viewer.