Index: trunk/src/org/openstreetmap/josm/data/Preferences.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/Preferences.java	(revision 4450)
+++ trunk/src/org/openstreetmap/josm/data/Preferences.java	(revision 4452)
@@ -967,4 +967,10 @@
                     continue;
                 }
+            } else if (f.getType() == Double.class || f.getType() == double.class) {
+                try {
+                    value = Double.parseDouble(valueString);
+                } catch (NumberFormatException nfe) {
+                    continue;
+                }
             } else  if (f.getType() == String.class) {
                 value = valueString;
Index: trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java	(revision 4450)
+++ trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java	(revision 4452)
@@ -86,7 +86,9 @@
         @pref String type;
         @pref String url;
+        @pref double pixel_per_eastnorth;
         @pref String eula;
         @pref String attribution_text;
         @pref String attribution_url;
+        @pref String logo_image;
         @pref String terms_of_use_url;
         @pref String country_code = "";
@@ -105,7 +107,9 @@
             type = i.imageryType.getUrlString();
             url = i.url;
+            pixel_per_eastnorth = i.pixelPerDegree;
             eula = i.eulaAcceptanceRequired;
             attribution_text = i.attributionText;
             attribution_url = i.attributionLinkURL;
+            logo_image = i.attributionImage;
             terms_of_use_url = i.termsOfUseURL;
             country_code = i.countryCode;
@@ -173,4 +177,5 @@
         name = e.name;
         url = e.url;
+        cookies = e.cookies;
         eulaAcceptanceRequired = e.eula;
         for (ImageryType type : ImageryType.values()) {
@@ -180,4 +185,5 @@
             }
         }
+        pixelPerDegree = e.pixel_per_eastnorth;
         defaultMaxZoom = e.max_zoom;
         defaultMinZoom = e.min_zoom;
@@ -198,4 +204,5 @@
         }
         attributionText = e.attribution_text;
+        attributionImage = e.logo_image;
         attributionLinkURL = e.attribution_url;
         termsOfUseURL = e.terms_of_use_url;
