Appearance
KBE3D / KBCore / layers / TerrainLayerOptions
接口: TerrainLayerOptions
terrain地形图层类构造参数类型
继承
BaseLayerOptions 特性参数
id?
optionalid:string|number
图层id标识,默认为随机uuid
继承自
pid?
optionalpid:string|number
层父级的id,一般图层管理中使用,默认为-1
继承自
name?
optionalname:string|number
图层名称,默认为uuid
继承自
show?
optionalshow:boolean
图层是否显示,默认为true
继承自
homeVision?
optionalhomeVision:Vision
图层自定义定位视角
继承自
flyTo?
optionalflyTo:boolean
加载完成数据后是否自动飞行定位到数据所在的区域,默认为false 以homeVision参数配置的图层自定义定位视角为最高优先级
继承自
popup?
optionalpopup:boolean|PopupOptions
绑定鼠标点击弹窗
继承自
eventParent?
optionaleventParent:false|BaseClass
指定的事件冒泡对象,默认为earth对象,传入false时不冒泡
继承自
isInternal?
optionalisInternal:boolean
内部使用的辅助图层标识(noLayerManage),设置为true的不对外展示,如earth.getLayers方法将不会获取isInternal为true的图层
继承自
属性
requestVertexNormals?
optionalrequestVertexNormals: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?
optionalrequestWaterMask:boolean
Flag that indicates if the client should request per tile water masks from the server, if available.
继承自
ConstructorOptions.requestWaterMask
requestMetadata?
optionalrequestMetadata:boolean
Flag that indicates if the client should request per tile metadata from the server, if available.
继承自
ConstructorOptions.requestMetadata
ellipsoid?
optionalellipsoid:Ellipsoid
The ellipsoid. If not specified, the default ellipsoid is used.
继承自
credit?
optionalcredit:string|Credit
A credit for the data source, which is displayed on the canvas.
继承自
terrainType?
optionalterrainType:TerrainTypeValue
地形的类型,默认为标准椭球体(无地形): 'ellipsoid'
source?
optionalsource:string|number|Resource
地形服务的地址URL 或 Cesium.Resource对象 或 Cesium Ion 服务的 asset id(number)
