WmsLayerFactory

Functions

Link copied to clipboard
suspend fun createLayer(serviceAddress: String, layerNames: List<String>, displayName: String? = null, serviceMetadata: String? = null): WmsImageLayer

Create a WMS tiled image layer (cache-agnostic).

Link copied to clipboard
suspend fun getCapabilities(serviceAddress: String): WmsCapabilities

Attempts to retrieve a Web Map Service (WMS) capabilities

Link copied to clipboard
suspend fun getCapabilitiesXml(serviceAddress: String): String

Issue a GetCapabilities request and return the raw XML. Exposed so cache-aware helpers can short-circuit to a persisted copy without paying for a parse round-trip.