main.cesium.createWorldImagery.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
package cesium
/**
* Creates an [IonImageryProvider] instance for ion's default global base imagery layer, currently Bing Maps.
* ```
* // Create Cesium World Terrain with default settings
* var viewer = new Viewer('cesiumContainer', {
* imageryProvider : createWorldImagery();
* });
* ```
* ```
* // Create Cesium World Terrain with water and normals.
* var viewer = new Viewer('cesiumContainer', {
* imageryProvider : createWorldImagery({
* style: IonWorldImageryStyle.AERIAL_WITH_LABELS
* })
* });
* ```
* @see Online Documentation
*/
@JsName("\$cesium__createWorldImagery")
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]
*/
@JsName("\$cesium__CreateWorldImageryOptions")
external interface CreateWorldImageryOptions {
var style: IonWorldImageryStyle?
}