public static class WMSLayer.ResourceInfo
extends com.google.gwt.core.client.JavaScriptObject
Modifier and Type | Method and Description |
---|---|
static WMSLayer.ResourceInfo |
create() |
void |
setCopyRight(java.lang.String copyright) |
void |
setDescription(java.lang.String description) |
void |
setExtent(Extent extent) |
void |
setGetMapUrl(java.lang.String[] getMapUrl) |
void |
setLayerInfos(WMSLayerInfo[] layerInfos) |
void |
setMaxHeight(int maxHeight) |
void |
setMaxWidth(int maxWidth) |
void |
setTitle(java.lang.String title) |
void |
setVersion(java.lang.String version) |
public static WMSLayer.ResourceInfo create()
public final void setExtent(Extent extent)
extent
- - Extent of the WMS service. The extent must be specified in the spatial reference of the WMS service. Required.public final void setLayerInfos(WMSLayerInfo[] layerInfos)
layerInfos
- - An array of WMSLayerInfo, each WMSLayerInfo object must have the name property set. Required.public final void setVersion(java.lang.String version)
version
- - Version of the WMS service. The default value is "1.3.0". Supported versions are: "1.1.0","1.1.1" and "1.3.0". Optional.public final void setMaxWidth(int maxWidth)
maxWidth
- - The maximum width, in pixels, of the WMS service. Optional.public final void setMaxHeight(int maxHeight)
maxHeight
- - The maximum width, in pixels, of the WMS service. Optional.public final void setGetMapUrl(java.lang.String[] getMapUrl)
getMapUrl
- - The URL for the GetMap request, required if the URL for GetCapabilities is different than the URL for GetMap.public final void setTitle(java.lang.String title)
title
- - The title of the WMS service. Optional.public final void setDescription(java.lang.String description)
description
- - The description of the WMS service. Optional.public final void setCopyRight(java.lang.String copyright)
copyright
- - The copyright of the WMS service. Optional.