commonMain.earth.worldwind.ogc.wms.WmsCapability.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of worldwind-jvm Show documentation
Show all versions of worldwind-jvm Show documentation
The WorldWind Kotlin SDK (WWK) includes the library, examples and tutorials for building multiplatform 3D virtual globe applications for Android, Web and Java.
The newest version!
package earth.worldwind.ogc.wms
import kotlinx.serialization.Serializable
import kotlinx.serialization.Transient
import nl.adaptivity.xmlutil.serialization.XmlSerialName
@Serializable
@XmlSerialName("Capability", WMS_NAMESPACE, WMS_PREFIX)
data class WmsCapability(
val request: WmsRequest,
val layers: List = emptyList(),
/**
* Object representation of an Exception element. Pre-allocated to prevent NPE in the event the server does not
* include an Exception block.
*/
val exception: WmsException = WmsException()
) {
@Transient
lateinit var capabilities: WmsCapabilities
init {
layers.forEach { layer -> layer.capability = this }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy