public static class TileLayerWMSOptions.Builder
extends java.lang.Object
| Constructor and Description |
|---|
Builder(java.lang.String layers)
Instantiates a new builder.
|
| Modifier and Type | Method and Description |
|---|---|
TileLayerWMSOptions |
build()
Builds the TileLayerWMSOptions new instance
|
TileLayerWMSOptions.Builder |
crs(ICRS crs)
Coordinate Reference System to use for the WMS requests, defaults to
map CRS.
|
TileLayerWMSOptions.Builder |
format(java.lang.String format)
WMS image format (use 'image/png' for layers with transparency).
|
TileLayerWMSOptions.Builder |
styles(java.lang.String styles)
Comma-separated list of WMS styles.
|
TileLayerWMSOptions.Builder |
transparent(java.lang.Boolean transparent)
If true, the WMS service will return images with transparency.
|
TileLayerWMSOptions.Builder |
version(java.lang.String version)
Version of the WMS service to use.
|
public Builder(java.lang.String layers)
layers - Comma-separated list of WMS layers to show.public TileLayerWMSOptions.Builder styles(java.lang.String styles)
styles - the stylespublic TileLayerWMSOptions.Builder format(java.lang.String format)
format - the formatpublic TileLayerWMSOptions.Builder transparent(java.lang.Boolean transparent)
transparent - the transparentpublic TileLayerWMSOptions.Builder version(java.lang.String version)
version - the versionpublic TileLayerWMSOptions.Builder crs(ICRS crs)
crs - the crspublic TileLayerWMSOptions build()