Changeset 35020 in osm
- Timestamp:
- 2019-05-30T23:12:00+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/OsmTileLoader.java
r35019 r35020 32 32 /** Setting key for number of threads */ 33 33 public static final String THREADS_SETTING = "jmapviewer.osm-tile-loader.threads"; 34 private static final int DEFAULT_THREADS_NUMBER = 4;34 private static final int DEFAULT_THREADS_NUMBER = 8; 35 35 private static int nThreads = DEFAULT_THREADS_NUMBER; 36 36 static { … … 130 130 public OsmTileLoader(TileLoaderListener listener, Map<String, String> headers) { 131 131 this.headers.put("Accept", "text/html, image/png, image/jpeg, image/gif, */*"); 132 this.headers.put("User-Agent", "JMapViewer Java/"+System.getProperty("java.version")); 132 133 if (headers != null) { 133 134 this.headers.putAll(headers);
Note:
See TracChangeset
for help on using the changeset viewer.