public class WMTSLayer extends TiledMapServiceLayer
Modifier and Type | Class and Description |
---|---|
static class |
WMTSLayer.Options |
static class |
WMTSLayer.ResourceInfo
An optional resource info object.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
assertLoaded()
Check that the esri.layers.WMSTLayer has been loaded
|
static WMTSLayer |
create(java.lang.String url)
Creates a new WMTSLayer object.
|
static WMTSLayer |
create(java.lang.String url,
WMTSLayer.Options options)
Creates a new WMTSLayer object.
|
java.lang.String |
getCopyright()
Copyright information for the service.
|
java.lang.String |
getDescription()
The description of the active layer if specified in the capabilties file or the resource info.
|
java.lang.String |
getFormat()
The tile format.
|
com.google.gwt.core.client.JsArray<WMTSLayerInfo> |
getLayerInfos()
An array of WMTSLayerInfo objects.
|
java.lang.String |
getServiceMode()
The service mode for the WMTS layer.
|
java.lang.String |
getTitle()
Title of the WMTS service.
|
java.lang.String |
getVersion()
Version of the WMTS service.
|
void |
setActiveLayer(WMTSLayerInfo layerInfo)
Set the active layer for the WMTS service.
|
getFullExtent, getInitialExtent, getSpatialReference, getTileInfo, getTileUrl, refresh
addErrorHandler, addLoadHandler, addOpacityChangeHandler, addUpdateEndHandler, addUpdateHandler, addUpdateStartHandler, addVisibilityChangeHandler, getCredential, getId, getOpacity, getUrl, hide, isloaded, isVisible, setOpacity, setVisibility, show
public static WMTSLayer create(java.lang.String url)
url
- - The url for the WMTS endpoint.public static WMTSLayer create(java.lang.String url, WMTSLayer.Options options)
url
- - The url for the WMTS endpoint.options
- - optional parameters.public static boolean assertLoaded()
public final java.lang.String getCopyright()
public final java.lang.String getDescription()
public final java.lang.String getFormat()
public final com.google.gwt.core.client.JsArray<WMTSLayerInfo> getLayerInfos()
public final java.lang.String getServiceMode()
public final java.lang.String getTitle()
public final java.lang.String getVersion()
public final void setActiveLayer(WMTSLayerInfo layerInfo)
layerInfo
- - The WMTSLayerInfo for the layer to make active.