Changeset 31467 in osm for applications/viewer/jmapviewer/src
- Timestamp:
- 2015-08-08T12:35:53+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/OsmTileLoader.java
r31434 r31467 104 104 105 105 public OsmTileLoader(TileLoaderListener listener) { 106 headers.put("Accept", "text/html, image/png, image/jpeg, image/gif, */*"); 106 this(listener, null); 107 } 108 109 public OsmTileLoader(TileLoaderListener listener, Map<String, String> headers) { 110 this.headers.put("Accept", "text/html, image/png, image/jpeg, image/gif, */*"); 111 if (headers != null) { 112 this.headers.putAll(headers); 113 } 107 114 this.listener = listener; 108 115 } 116 109 117 110 118 @Override
Note:
See TracChangeset
for help on using the changeset viewer.