public abstract class AbstractTiledLayerParams extends AbstractLayerParams
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
imageFormat
The format of the image.
|
java.lang.String |
rasterStyle
The name of the style (in Configuration or Template) to use when drawing the layer to the map.
|
name, opacity| Constructor and Description |
|---|
AbstractTiledLayerParams() |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
createCommonUrl(com.google.common.base.Function<com.google.common.collect.Multimap<java.lang.String,java.lang.String>,com.google.common.collect.Multimap<java.lang.String,java.lang.String>> queryParamCustomization)
Create a URL that is common to all image requests for this layer.
|
abstract java.lang.String |
getBaseUrl()
Get the base url for all tile requests.
|
abstract boolean |
validateBaseUrl()
Validates the provided base url.
|
public java.lang.String rasterStyle
public java.lang.String imageFormat
public abstract java.lang.String getBaseUrl()
public abstract boolean validateBaseUrl()
public abstract java.lang.String createCommonUrl(com.google.common.base.Function<com.google.common.collect.Multimap<java.lang.String,java.lang.String>,com.google.common.collect.Multimap<java.lang.String,java.lang.String>> queryParamCustomization)
throws java.net.URISyntaxException,
java.io.UnsupportedEncodingException
queryParamCustomization - a function that can optionally modify the Multimap passed into the function and returns the
Multimap that will contain all the query params that will be part of the URI. If the function
returns null then the original map will be used as the params.java.net.URISyntaxExceptionjava.io.UnsupportedEncodingException