BackgroundLayer

class BackgroundLayer @JvmOverloads constructor(imageSource: ImageSource = ImageSource.fromResource(AssetsMR.images.worldwind_worldtopobathy2004053), imageOptions: ImageOptions = ImageOptions(ImageConfig.RGB_565)) : RenderableLayer

Displays a single image spanning the globe. By default, BackgroundLayer is configured to display NASA's Blue Marble next generation image at 40km resolution from the worldwind-assets library resource res/drawable/worldwind_worldtopobathy2004053.

Constructors

Link copied to clipboard
constructor(imageSource: ImageSource = ImageSource.fromResource(AssetsMR.images.worldwind_worldtopobathy2004053), imageOptions: ImageOptions = ImageOptions(ImageConfig.RGB_565))

Properties

Link copied to clipboard
val count: Int
Link copied to clipboard
open override var displayName: String?
Link copied to clipboard
open override var isDynamic: Boolean
Link copied to clipboard
open override var isEnabled: Boolean
Link copied to clipboard
open override var isPickEnabled: Boolean
Link copied to clipboard
open override var maxActiveAltitude: Double
Link copied to clipboard
open override var minActiveAltitude: Double
Link copied to clipboard
open override var opacity: Float

Functions

Link copied to clipboard
Link copied to clipboard
fun addRenderable(renderable: Renderable)
fun addRenderable(index: Int, renderable: Renderable)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getUserProperty(key: Any): Any?
Link copied to clipboard
open override fun hasUserProperty(key: Any): Boolean
Link copied to clipboard
fun indexOfRenderable(renderable: Renderable): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open operator override fun iterator(): MutableIterator<Renderable>
Link copied to clipboard
open override fun putUserProperty(key: Any, value: Any): Any?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun removeUserProperty(key: Any): Any?
Link copied to clipboard
open override fun render(rc: RenderContext)
Link copied to clipboard
fun setRenderable(index: Int, renderable: Renderable): Renderable