IMapGroundManager

地图地形实例

属性

ground

地图地形实例

ground: IMapGround

类型: IMapGround

导航约束模式

navigationConstraint: "stay-above" | "none"

类型: "stay-above" | "none"

scene

所属场景实例

scene: IScene

类型: IScene

方法

add

添加地形图层

add(layer): void

参数

  • layer: ILayer 地形图层实例

返回:void

initGround

初始化地形配置

initGround(option): IMapGround

参数

  • option: string | MapGround 地形配置选项,可以是MapGround对象、undefined或字符串URL

返回:IMapGround

remove

删除地形图层

remove(layer): void

参数

  • layer: string | ILayer 地形图层实例或图层ID字符串

返回:void

BIMFlux AI