Changeset 4713 in josm for trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java
- Timestamp:
- 2011-12-26T21:48:25+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java
r4506 r4713 85 85 private String termsOfUseURL; 86 86 private String countryCode = ""; 87 private String icon; 87 88 88 89 /** auxiliary class to save an ImageryInfo object in the preferences */ … … 106 107 @pref String shapes; 107 108 @pref String projections; 109 @pref String icon; 108 110 109 111 public ImageryPreferenceEntry() { … … 126 128 min_zoom = i.defaultMinZoom; 127 129 cookies = i.cookies; 130 icon = i.icon; 128 131 if (i.bounds != null) { 129 132 bounds = i.bounds.encodeAsString(","); … … 219 222 termsOfUseURL = e.terms_of_use_url; 220 223 countryCode = e.country_code; 224 icon = e.icon; 221 225 } 222 226 … … 285 289 this.termsOfUseURL = i.termsOfUseURL; 286 290 this.serverProjections = i.serverProjections; 291 this.icon = i.icon; 287 292 } 288 293 … … 515 520 } 516 521 522 public String getIcon() { 523 return icon; 524 } 525 526 public void setIcon(String icon) { 527 this.icon = icon; 528 } 529 517 530 /** 518 531 * Get the projections supported by the server. Only relevant for
Note:
See TracChangeset
for help on using the changeset viewer.