Index: /applications/editors/josm/plugins/imagery_offset_db/build.xml
===================================================================
--- /applications/editors/josm/plugins/imagery_offset_db/build.xml	(revision 34640)
+++ /applications/editors/josm/plugins/imagery_offset_db/build.xml	(revision 34641)
@@ -5,5 +5,5 @@
     <property name="commit.message" value="Imagery Offset Database"/>
     <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
-    <property name="plugin.main.version" value="14153"/>
+    <property name="plugin.main.version" value="14221"/>
     <property name="plugin.canloadatruntime" value="true"/>
 
Index: /applications/editors/josm/plugins/imagery_offset_db/src/org/openstreetmap/josm/plugins/imagery_offset_db/CalibrationLayer.java
===================================================================
--- /applications/editors/josm/plugins/imagery_offset_db/src/org/openstreetmap/josm/plugins/imagery_offset_db/CalibrationLayer.java	(revision 34640)
+++ /applications/editors/josm/plugins/imagery_offset_db/src/org/openstreetmap/josm/plugins/imagery_offset_db/CalibrationLayer.java	(revision 34641)
@@ -20,4 +20,5 @@
 
 import org.openstreetmap.josm.actions.AutoScaleAction;
+import org.openstreetmap.josm.actions.AutoScaleAction.AutoScaleMode;
 import org.openstreetmap.josm.data.Bounds;
 import org.openstreetmap.josm.data.coor.LatLon;
@@ -221,5 +222,5 @@
         @Override
         public void actionPerformed(ActionEvent e) {
-            AutoScaleAction.autoScale("layer");
+            AutoScaleAction.autoScale(AutoScaleMode.LAYER);
         }
     }
