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.StringbaseUrlprivate BBoxbboxprivate java.util.Collection<WMTSTileSource.Dimension>dimensionsprivate java.lang.Stringformatprivate java.lang.Stringidentifierprivate java.lang.Stringstyleprivate WMTSTileSource.TileMatrixSettileMatrixSetprivate java.util.Collection<java.lang.String>tileMatrixSetLinksprivate java.lang.Stringtitle
-
Constructor Summary
Constructors Constructor Description Layer()Layer(WMTSTileSource.Layer l)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BBoxgetBbox()Returns the WGS84 bounding box.java.lang.StringgetIdentifier()Returns identifier of this layer.intgetMaxZoom()Returns layer max zoom.java.lang.StringgetStyle()Returns style of this layer.WMTSTileSource.TileMatrixSetgetTileMatrixSet()Returns tileMatrixSet of this layer.java.lang.StringgetUserTitle()Get title of the layer for user display.java.lang.StringtoString()
-
-
-
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:
toStringin 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
-
-