Changeset 11167 in josm for trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
- Timestamp:
- 2016-10-26T14:02:07+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r11125 r11167 216 216 217 217 /** 218 * Creates and returns a new {@link TileSource} instance depending on {@link #info} specified in the constructor. 218 219 * 219 * @param info imagery info220 220 * @return TileSource for specified ImageryInfo 221 221 * @throws IllegalArgumentException when Imagery is not supported by layer 222 222 */ 223 protected abstract T getTileSource( ImageryInfo info);223 protected abstract T getTileSource(); 224 224 225 225 protected Map<String, String> getHeaders(T tileSource) { … … 679 679 private void initializeIfRequired() { 680 680 if (tileSource == null) { 681 tileSource = getTileSource( info);681 tileSource = getTileSource(); 682 682 if (tileSource == null) { 683 683 throw new IllegalArgumentException(tr("Failed to create tile source"));
Note:
See TracChangeset
for help on using the changeset viewer.