Ignore:
Timestamp:
2011-01-28T00:49:15+01:00 (15 years ago)
Author:
framm
Message:

Add a "blacklisted" property to imagery layers; set this property from a
compiled-in list of regular expressions; disable blacklisted entries in
the Imagery menu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/ImageryPreference.java

    r3816 r3826  
    587587                    return info.getName();
    588588                case 1:
    589                     return info.getFullURL();
     589                    return info.getFullUrl();
    590590                case 2:
    591591                    return (info.getImageryType() == ImageryType.WMS || info.getImageryType() == ImageryType.HTML) ?
     
    605605                    break;
    606606                case 1:
    607                     info.setURL((String)o);
     607                    info.setUrl((String)o);
    608608                    break;
    609609                case 2:
     
    654654                    return info.getName();
    655655                case 1:
    656                     return info.getFullURL();
     656                    return info.getFullUrl();
    657657                }
    658658                return null;
Note: See TracChangeset for help on using the changeset viewer.