ToolbarWidget
构造函数
关系
Extends
ToolbarWidget Extends BaseWidget
继承: BaseWidget
构造函数
ToolbarWidget
构造函数
new ToolbarWidget(scene, props)
参数
- scene:
IScene所属场景实例 - props:
IToolbarWidgetProps工具栏属性配置
返回:ToolbarWidget ToolbarWidget对象
属性
container
容器元素
container?: string | HTMLElement
类型: string | HTMLElement
hide
隐藏方法
hide: (
类型: (
name
小部件名称
name: string
类型: string
onAdd
添加到地图时的回调
onAdd: (
类型: (
onRemove
移除时的回调
onRemove: (
类型: (
onUpdate
更新时的回调
onUpdate: (
类型: (
position
位置
position: string
类型: string
props
工具栏属性配置
props: IToolbarWidgetProps
scene
所属场景实例
scene: IScene
类型: IScene
show
显示方法
show: (
类型: (
方法
view
获取工具栏视图实例
view(): any
返回:any

BIMFlux AI
