Ignore:
Timestamp:
2018-05-31T10:02:31+02:00 (19 months ago)
Author:
wiktorn
Message:

Add layer name/title to WMTS layers when user selects layer

see: #15988

File:
1 edited

Legend:

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

    r13828 r13879  
    11081108        return tileProjection != null ? tileProjection.toCode() : null;
    11091109    }
     1110
     1111    /**
     1112     * Layers that can be used with this tile source
     1113     * @return unmodifiable collection of layers available in this tile source
     1114     * @since 13879
     1115     */
     1116    public Collection<Layer> getLayers() {
     1117        return Collections.unmodifiableCollection(layers);
     1118    }
    11101119}
Note: See TracChangeset for help on using the changeset viewer.