commonMain.earth.worldwind.ogc.gml.GmlNamespace.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.
package earth.worldwind.ogc.gml
import kotlinx.serialization.modules.SerializersModule
import kotlinx.serialization.modules.polymorphic
import kotlinx.serialization.modules.subclass
const val GML32_NAMESPACE = "http://www.opengis.net/gml/3.2"
const val GML32_PREFIX = "gml"
val serializersModule = SerializersModule {
polymorphic(GmlAbstractGeometry::class) {
subclass(GmlPoint::class)
subclass(GmlGrid::class)
subclass(GmlRectifiedGrid::class)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy