Changeset 9865 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2016-02-23T22:28:23+01:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r9860 r9865 99 99 * @since 8526 (copied from TMSLayer) 100 100 */ 101 public abstract class AbstractTileSourceLayer<T extends AbstractTMSTileSource> extends ImageryLayer implements ImageObserver, TileLoaderListener, ZoomChangeListener { 101 public abstract class AbstractTileSourceLayer<T extends AbstractTMSTileSource> extends ImageryLayer 102 implements ImageObserver, TileLoaderListener, ZoomChangeListener { 102 103 private static final String PREFERENCE_PREFIX = "imagery.generic"; 103 104 … … 1746 1747 * To prevent accidental clear of the queue, new download executor is created with separate queue 1747 1748 * 1748 * @param progressMonitor Task responsible for precaching imagery1749 * @param progressMonitor progress monitor for download task 1749 1750 * @param points lat/lon coordinates to download 1750 1751 * @param bufferX how many units in current Coordinate Reference System to cover in X axis in both sides 1751 1752 * @param bufferY how many units in current Coordinate Reference System to cover in Y axis in both sides 1752 * @return 1753 */ 1754 public AbstractTileSourceLayer<T>.PrecacheTask downloadAreaToCache(final ProgressMonitor progressMonitor, List<LatLon> points, double bufferX, double bufferY) { 1753 * @return precache task representing download task 1754 */ 1755 public AbstractTileSourceLayer<T>.PrecacheTask downloadAreaToCache(final ProgressMonitor progressMonitor, List<LatLon> points, 1756 double bufferX, double bufferY) { 1755 1757 PrecacheTask precacheTask = new PrecacheTask(progressMonitor); 1756 1758 final Set<Tile> requestedTiles = new ConcurrentSkipListSet<>(new Comparator<Tile>() {
Note:
See TracChangeset
for help on using the changeset viewer.