bcgis-type
Version:
The SDK is based on Cesium for secondary development of 2, 3D all-in-one WebGis application framework, the framework optimizes the use of Cesium and add some additional features, designed for developers to quickly build WebGis applications.
51 lines (50 loc) • 1.33 kB
TypeScript
/**
* 地形工厂, 用于创建地形
* @example
* ```ts
* let terrain = BC.ImageryLayerFactory.createUrlTerrain({
* url: '****',
* })
* viewer.addTerrain(terrain)
* ```
*/
declare class TerrainFactory {
/**
* 创建默认地形
* @param options 属性
* @returns
*/
static createEllipsoidTerrain(options: any): Cesium.EllipsoidTerrainProvider;
/**
* 根据 url 创建地形
* @param options
* @returns
*/
static createUrlTerrain(options: any): Cesium.CesiumTerrainProvider;
/**
* 创建谷歌地形
* @param options
* @returns
*/
static createGoogleTerrain(options: any): Cesium.GoogleEarthEnterpriseTerrainProvider;
/**
* 创建 Arcgis 地形
* @param options
* @returns
*/
static createArcgisTerrain(options: any): Cesium.ArcGISTiledElevationTerrainProvider;
/**
* 创建 VR 地形
* @param options
* @returns
*/
static createVRTerrain(options: any): Cesium.VRTheWorldTerrainProvider;
/**
* 根据类型创建地形
* @param type 类型,参考:BC.TerrainType
* @param options 属性
* @returns {any}
*/
static createTerrain(type: any, options: any): any;
}
export default TerrainFactory;