Class WMTSTileSource.Layer
- java.lang.Object
-
- org.openstreetmap.josm.data.imagery.WMTSTileSource.Layer
-
- Enclosing class:
- WMTSTileSource
public static class WMTSTileSource.Layer extends Object
Class representing WMTS Layer information- Since:
- 13733
-
-
Field Summary
Fields Modifier and Type Field Description private String
baseUrl
private BBox
bbox
private Collection<WMTSTileSource.Dimension>
dimensions
private String
format
private String
identifier
private String
style
private WMTSTileSource.TileMatrixSet
tileMatrixSet
private Collection<String>
tileMatrixSetLinks
private String
title
-
Constructor Summary
Constructors Constructor Description Layer()
Layer(WMTSTileSource.Layer l)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BBox
getBbox()
Returns the WGS84 bounding box.String
getIdentifier()
Returns identifier of this layer.int
getMaxZoom()
Returns layer max zoom.String
getStyle()
Returns style of this layer.WMTSTileSource.TileMatrixSet
getTileMatrixSet()
Returns tileMatrixSet of this layer.String
getUserTitle()
Get title of the layer for user display.String
toString()
-
-
-
Field Detail
-
identifier
private String identifier
-
tileMatrixSet
private WMTSTileSource.TileMatrixSet tileMatrixSet
-
tileMatrixSetLinks
private final Collection<String> tileMatrixSetLinks
-
dimensions
private final Collection<WMTSTileSource.Dimension> dimensions
-
-
Constructor Detail
-
Layer
Layer(WMTSTileSource.Layer l)
-
Layer
Layer()
-
-
Method Detail
-
getUserTitle
public String getUserTitle()
Get title of the layer for user display. This is either the content of the Title element (if available) or the layer identifier (as fallback)- Returns:
- title of the layer for user display
-
getIdentifier
public String getIdentifier()
Returns identifier of this layer.- Returns:
- identifier of this layer
-
getTileMatrixSet
public WMTSTileSource.TileMatrixSet getTileMatrixSet()
Returns tileMatrixSet of this layer.- Returns:
- tileMatrixSet of this layer
-
getMaxZoom
public int getMaxZoom()
Returns layer max zoom.- Returns:
- layer max zoom
- Since:
- 15409
-
-