Index: /applications/editors/josm/plugins/piclayer/build.xml
===================================================================
--- /applications/editors/josm/plugins/piclayer/build.xml	(revision 16301)
+++ /applications/editors/josm/plugins/piclayer/build.xml	(revision 16302)
@@ -81,5 +81,5 @@
                 <attribute name="Plugin-Date" value="${version.entry.commit.date}"/>
                 <attribute name="Plugin-Description" value="This plugin allows to display any picture as a background in the editor and align it with the map."/>
-                <attribute name="Plugin-Mainversion" value="1722"/>
+                <attribute name="Plugin-Mainversion" value="1728"/>
                 <attribute name="Plugin-Version" value="${version.entry.commit.revision}"/>
             </manifest>
Index: /applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerAbstract.java
===================================================================
--- /applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerAbstract.java	(revision 16301)
+++ /applications/editors/josm/plugins/piclayer/src/org/openstreetmap/josm/plugins/piclayer/PicLayerAbstract.java	(revision 16302)
@@ -117,5 +117,5 @@
             m_initial_position = m_position = Main.map.mapView.getCenter();
             // Initial scale at which the image was loaded
-            m_initial_scale = Main.map.mapView.getMapScale();
+            m_initial_scale = Main.map.mapView.getDist100Pixel();
         } else {
             throw new IOException( "Could not find the map object." );
@@ -190,5 +190,5 @@
             g.rotate( m_angle * Math.PI / 180.0 );
             // Scale
-            double scale = m_scale * m_initial_scale / Main.map.mapView.getMapScale();
+            double scale = m_scale * m_initial_scale / Main.map.mapView.getDist100Pixel();
             g.scale( scale, scale );
 
