commonMain.earth.worldwind.layer.AbstractTiledImageLayer.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.layer
import earth.worldwind.shape.TiledSurfaceImage
abstract class AbstractTiledImageLayer(name: String?, tiledSurfaceImage: TiledSurfaceImage?): RenderableLayer(name) {
override var isPickEnabled = false // Image layer is not pick able
var tiledSurfaceImage = tiledSurfaceImage?.also { addRenderable(it) }
protected set(value) {
field?.let { removeRenderable(it) }
value?.let { addRenderable(it) }
field = value
}
/**
* Unique identifier of the layer type, defined by tiled surface image tile factory content type
*/
val type get() = tiledSurfaceImage?.tileFactory?.contentType
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy