All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.createWorldImagery.kt Maven / Gradle / Ivy

The newest version!
// Automatically generated - do not modify!

@file:JsModule("cesium")

package cesium

/**
 * Creates an [IonImageryProvider] instance for ion's default global base imagery layer, currently Bing Maps.
 * ```
 * // Create Cesium World Terrain with default settings
 * const viewer = new Viewer('cesiumContainer', {
 *     imageryProvider : createWorldImagery();
 * });
 * ```
 * ```
 * // Create Cesium World Terrain with water and normals.
 * const viewer = new Viewer('cesiumContainer', {
 *     imageryProvider : createWorldImagery({
 *         style: IonWorldImageryStyle.AERIAL_WITH_LABELS
 *     })
 * });
 * ```
 * @see Online Documentation
 */
external fun createWorldImagery(options: CreateWorldImageryOptions? = definedExternally): IonImageryProvider

/**
 * @property [style] The style of base imagery, only AERIAL, AERIAL_WITH_LABELS, and ROAD are currently supported.
 *   Default value - [IonWorldImageryStyle]
 */
external interface CreateWorldImageryOptions {
    var style: IonWorldImageryStyle?
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy