Skip to content

KBE3D / KBCore / layers / TerrainLayerOptions

接口: TerrainLayerOptions

terrain地形图层类构造参数类型

继承

BaseLayerOptions 特性参数

id?

optional id: string | number

图层id标识,默认为随机uuid

继承自

BaseLayerOptions.id


pid?

optional pid: string | number

层父级的id,一般图层管理中使用,默认为-1

继承自

BaseLayerOptions.pid


name?

optional name: string | number

图层名称,默认为uuid

继承自

BaseLayerOptions.name


show?

optional show: boolean

图层是否显示,默认为true

继承自

BaseLayerOptions.show


homeVision?

optional homeVision: Vision

图层自定义定位视角

继承自

BaseLayerOptions.homeVision


flyTo?

optional flyTo: boolean

加载完成数据后是否自动飞行定位到数据所在的区域,默认为false 以homeVision参数配置的图层自定义定位视角为最高优先级

继承自

BaseLayerOptions.flyTo


optional popup: boolean | PopupOptions

绑定鼠标点击弹窗

继承自

BaseLayerOptions.popup


eventParent?

optional eventParent: false | BaseClass

指定的事件冒泡对象,默认为earth对象,传入false时不冒泡

继承自

BaseLayerOptions.eventParent


isInternal?

optional isInternal: boolean

内部使用的辅助图层标识(noLayerManage),设置为true的不对外展示,如earth.getLayers方法将不会获取isInternal为true的图层

继承自

BaseLayerOptions.isInternal

属性

requestVertexNormals?

optional requestVertexNormals: boolean

Flag that indicates if the client should request additional lighting information from the server, in the form of per vertex normals if available.

继承自

ConstructorOptions.requestVertexNormals


requestWaterMask?

optional requestWaterMask: boolean

Flag that indicates if the client should request per tile water masks from the server, if available.

继承自

ConstructorOptions.requestWaterMask


requestMetadata?

optional requestMetadata: boolean

Flag that indicates if the client should request per tile metadata from the server, if available.

继承自

ConstructorOptions.requestMetadata


ellipsoid?

optional ellipsoid: Ellipsoid

The ellipsoid. If not specified, the default ellipsoid is used.

继承自

ConstructorOptions.ellipsoid


credit?

optional credit: string | Credit

A credit for the data source, which is displayed on the canvas.

继承自

ConstructorOptions.credit


terrainType?

optional terrainType: TerrainTypeValue

地形的类型,默认为标准椭球体(无地形): 'ellipsoid'


source?

optional source: string | number | Resource

地形服务的地址URL 或 Cesium.Resource对象 或 Cesium Ion 服务的 asset id(number)

KBE3D @3.0.0 Copyright © 2024-present KBE3D