- Timestamp:
- 2016-01-13T03:32:00+01:00 (9 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r9180 r9430 89 89 * Base abstract class that supports displaying images provided by TileSource. It might be TMS source, WMS or WMTS 90 90 * 91 * It implements all standard functions of tilesource based layers: autozoom, 91 * It implements all standard functions of tilesource based layers: autozoom, tile reloads, layer saving, loading,etc. 92 92 * 93 93 * @author Upliner … … 97 97 */ 98 98 public abstract class AbstractTileSourceLayer extends ImageryLayer implements ImageObserver, TileLoaderListener, ZoomChangeListener { 99 private static final String PREFERENCE_PREFIX 99 private static final String PREFERENCE_PREFIX = "imagery.generic"; 100 100 101 101 /** maximum zoom level supported */ -
trunk/src/org/openstreetmap/josm/gui/layer/TMSLayer.java
r8714 r9430 52 52 } 53 53 54 55 54 /** 56 55 * Creates and returns a new TileSource instance depending on the {@link ImageryType} … … 76 75 }); 77 76 } 78 79 /**80 * Adds a context menu to the mapView.81 */82 77 83 78 @Override … … 126 121 info.setAttribution(t); 127 122 return t; 128 } else if (info.getImageryType() == ImageryType.BING) 123 } else if (info.getImageryType() == ImageryType.BING) { 129 124 return new CachedAttributionBingAerialTileSource(info, attributionLoadedTask); 130 else if (info.getImageryType() == ImageryType.SCANEX) {125 } else if (info.getImageryType() == ImageryType.SCANEX) { 131 126 return new ScanexTileSource(info); 132 127 } … … 150 145 return AbstractCachedTileSourceLayer.getCache(CACHE_REGION_NAME); 151 146 } 152 153 147 } -
trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java
r9135 r9430 61 61 this.supportedProjections = new TreeSet<>(info.getServerProjections()); 62 62 this.autoZoom = PROP_DEFAULT_AUTOZOOM.get(); 63 64 63 } 65 64 -
trunk/src/org/openstreetmap/josm/gui/layer/WMTSLayer.java
r8752 r9430 37 37 public static final BooleanProperty PROP_DEFAULT_AUTOZOOM = new BooleanProperty("imagery.wmts.default_autozoom", true); 38 38 private static final String CACHE_REGION_NAME = "WMTS"; 39 40 39 41 40 /**
Note:
See TracChangeset
for help on using the changeset viewer.