Class WMTSTileSource.Layer
- java.lang.Object
-
- org.openstreetmap.josm.data.imagery.WMTSTileSource.Layer
-
- Enclosing class:
- WMTSTileSource
public static class WMTSTileSource.Layer extends java.lang.Object
Class representing WMTS Layer information- Since:
- 13733
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
baseUrl
private BBox
bbox
private java.util.Collection<WMTSTileSource.Dimension>
dimensions
private java.lang.String
format
private java.lang.String
identifier
private java.lang.String
style
private WMTSTileSource.TileMatrixSet
tileMatrixSet
private java.util.Collection<java.lang.String>
tileMatrixSetLinks
private java.lang.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.java.lang.String
getIdentifier()
Returns identifier of this layer.int
getMaxZoom()
Returns layer max zoom.java.lang.String
getStyle()
Returns style of this layer.WMTSTileSource.TileMatrixSet
getTileMatrixSet()
Returns tileMatrixSet of this layer.java.lang.String
getUserTitle()
Get title of the layer for user display.java.lang.String
toString()
-
-
-
Field Detail
-
format
private java.lang.String format
-
identifier
private java.lang.String identifier
-
title
private java.lang.String title
-
tileMatrixSet
private WMTSTileSource.TileMatrixSet tileMatrixSet
-
baseUrl
private java.lang.String baseUrl
-
style
private java.lang.String style
-
tileMatrixSetLinks
private final java.util.Collection<java.lang.String> tileMatrixSetLinks
-
dimensions
private final java.util.Collection<WMTSTileSource.Dimension> dimensions
-
-
Constructor Detail
-
Layer
Layer(WMTSTileSource.Layer l)
-
Layer
Layer()
-
-
Method Detail
-
getUserTitle
public java.lang.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
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getIdentifier
public java.lang.String getIdentifier()
Returns identifier of this layer.- Returns:
- identifier of this layer
-
getStyle
public java.lang.String getStyle()
Returns style of this layer.- Returns:
- style 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
-
-