Changeset 31143 in osm for applications/viewer/jmapviewer/src
- Timestamp:
- 2015-05-23T09:09:39+02:00 (10 years ago)
- Location:
- applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/Tile.java
r31142 r31143 330 330 } 331 331 332 /** 333 * returns the metadata of the Tile 334 * 335 * @param key metadata key that should be returned 336 * @return null if no such metadata exists, or the value of the metadata 337 */ 332 338 public String getValue(String key) { 333 339 if (metadata == null) return null; … … 335 341 } 336 342 343 /** 344 * 345 * @return metadata of the tile 346 */ 337 347 public Map<String,String> getMetadata() { 338 348 if (metadata == null) { … … 342 352 } 343 353 354 /** 355 * indicate that loading process for this tile has started 356 */ 344 357 public void initLoading() { 345 358 loaded = false; … … 348 361 } 349 362 363 /** 364 * indicate that loading process for this tile has ended 365 */ 350 366 public void finishLoading() { 351 367 loading = false; -
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/tilesources/TileSourceInfo.java
r31142 r31143 8 8 /** 9 9 * Data class that keeps basic information about a tile source. 10 * 11 * @since 31122 10 12 */ 11 13 public class TileSourceInfo { … … 131 133 } 132 134 135 /** 136 * 137 * @return mapping <HTTP header name, Metadata key name> for copying HTTP headers to Tile metadata 138 * @since 31125 139 */ 133 140 public Map<String, String> getMetadataHeaders() { 134 141 return metadataHeaders;
Note:
See TracChangeset
for help on using the changeset viewer.