Ignore:
Timestamp:
2011-12-26T21:48:25+01:00 (12 years ago)
Author:
simon04
Message:

see #7182 - Individual Icons for Imagery Background

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/ImageryInfo.java

    r4506 r4713  
    8585    private String termsOfUseURL;
    8686    private String countryCode = "";
     87    private String icon;
    8788
    8889    /** auxiliary class to save an ImageryInfo object in the preferences */
     
    106107        @pref String shapes;
    107108        @pref String projections;
     109        @pref String icon;
    108110
    109111        public ImageryPreferenceEntry() {
     
    126128            min_zoom = i.defaultMinZoom;
    127129            cookies = i.cookies;
     130            icon = i.icon;
    128131            if (i.bounds != null) {
    129132                bounds = i.bounds.encodeAsString(",");
     
    219222        termsOfUseURL = e.terms_of_use_url;
    220223        countryCode = e.country_code;
     224        icon = e.icon;
    221225    }
    222226
     
    285289        this.termsOfUseURL = i.termsOfUseURL;
    286290        this.serverProjections = i.serverProjections;
     291        this.icon = i.icon;
    287292    }
    288293
     
    515520    }
    516521
     522    public String getIcon() {
     523        return icon;
     524    }
     525
     526    public void setIcon(String icon) {
     527        this.icon = icon;
     528    }
     529
    517530    /**
    518531     * Get the projections supported by the server. Only relevant for
Note: See TracChangeset for help on using the changeset viewer.