WmsTileFactory

open class WmsTileFactory(var serviceAddress: String, var wmsVersion: String, var layerNames: String, var styleNames: String?) : TileFactory

Factory for constructing URLs associated with WMS Get Map requests.

Constructors

Link copied to clipboard
constructor(serviceAddress: String, wmsVersion: String, layerNames: String, styleNames: String?)
constructor(config: WmsLayerConfig)

Constructs a level set with a specified configuration. The configuration's service address, WMS protocol version, layer names and coordinate reference system must be non-null. The style names may be null, in which case the default style is assumed. The time string may be null, in which case no time parameter is included.

Properties

Link copied to clipboard
open override val contentType: String

Unique tile factory content type name

Link copied to clipboard

The coordinate reference system to use in Get Map URLs. Defaults to EPSG:4326.

Link copied to clipboard

The image content type to use in Get Map URLs. May be null in which case a default format is assumed.

Link copied to clipboard

Indicates whether Get Map URLs should include transparency.

Link copied to clipboard

The comma-separated list of WMS layer names.

Link copied to clipboard

The WMS service address used to build Get Map URLs.

Link copied to clipboard

The comma-separated list of WMS style names. May be null in which case the default style is assumed.

Link copied to clipboard

The time parameter to include in Get Map URLs. May be null in which case no time parameter is included.

Link copied to clipboard

The WMS protocol version.

Functions

Link copied to clipboard
open override fun createTile(sector: Sector, level: Level, row: Int, column: Int): ImageTile

Returns a tile for a specified sector, level within a LevelSet, and row and column within that level.

Link copied to clipboard
fun urlForTile(sector: Sector, width: Int, height: Int): String