public class TileWms extends Source
| Modifier and Type | Class and Description |
|---|---|
static class |
TileWms.ServerType |
counter, JS_GLOBAL, objectIds| Constructor and Description |
|---|
TileWms(String url,
Map<String,String> params)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getJsType()
Returns a String with the type of Javascript object that this object represents.
|
Map<String,String> |
getParams()
Returns the parameters for this source.
|
Projection |
getProjection()
Returns the projection used to transform fetched data.
|
TileWms.ServerType |
getServerType()
Returns the remote server type
|
String |
getUrl()
Returns the URL providing tiles for this source.
|
TileWms |
params(Map<String,String> params)
Sets the parameters for this source.
|
TileWms |
projection(Projection projection)
Sets the projection used to transform fetched data.
|
String |
renderJs()
Returns a String with containing the rendered Javascript code for this object.
|
TileWms |
serverType(TileWms.ServerType serverType)
Sets the remote server type.
|
void |
setParams(Map<String,String> params)
Sets the parameters for this source.
|
void |
setProjection(Projection projection)
Sets the projection used to transform fetched data.
|
void |
setServerType(TileWms.ServerType serverType)
Sets the remote server type.
|
void |
setUrl(String url)
Sets the URL providing images for this source.
|
TileWms |
url(String url)
Sets the URL providing the images for this source.
|
escapeQuoteJs, getJsId, getJsIdWithSuffixpublic String getUrl()
public void setUrl(String url)
url - New valuepublic Map<String,String> getParams()
public void setParams(Map<String,String> params)
params - New valuepublic TileWms url(String url)
url - New valuepublic TileWms params(Map<String,String> params)
params - New valuepublic TileWms serverType(TileWms.ServerType serverType)
serverType - New valuepublic TileWms projection(Projection projection)
projection - New valuepublic TileWms.ServerType getServerType()
public void setServerType(TileWms.ServerType serverType)
serverType - New valuepublic Projection getProjection()
public void setProjection(Projection projection)
projection - New valuepublic String getJsType()
JavascriptObjectgetJsType in interface IJavascriptObjectgetJsType in class Sourcepublic String renderJs()
JavascriptObjectrenderJs in interface IJavascriptObjectrenderJs in class SourceCopyright © 2015. All rights reserved.