public static class WMTSLayer.Options
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
static WMTSLayer.Options |
create() |
void |
setLayerInfo(WMTSLayerInfo layerInfo) |
void |
setResoureInfo(WMTSLayer.ResourceInfo resourceInfo) |
void |
setServiceMode(java.lang.String serviceMode) |
public static WMTSLayer.Options create()
public final void setLayerInfo(WMTSLayerInfo layerInfo)
layerInfo
- - A WMTSLayerInfo object that When ResourceInfo options are not specified the map will display
the first layer in the WMTS capabilities that matches the properties specified by WMTSLayerInfo. For example,
if the WMTSLayerInfo specifies an identifier but does not specify a tileMatrixSet the first layer in the service
that has the same id will be used.public final void setResoureInfo(WMTSLayer.ResourceInfo resourceInfo)
resourceInfo
- - An optional resource info object. The default behavior of a WMTSLayer is to execute a WMTS GetCapabilities
request, which requires using a proxy page. If resourceInfo is specified a GetCapabilities request is not
executed and no proxy page is required.public final void setServiceMode(java.lang.String serviceMode)
serviceMode
- - Specify the service type. Valid values are "KVP" or "RESTful".
If the specified mode does not match the service the WMTS layer will not be created.
The default value is "RESTful".