Members
-
readonlyalias
-
Properties:
Name Type Description alias
string 建筑物别名
-
readonlybcode
-
Properties:
Name Type Description bcode
number 建筑编号
-
readonlybound
-
Properties:
Name Type Description bound
fengmap.FMBound 边界
-
readonlybuildingID
-
Properties:
Name Type Description buildingID
string 建筑ID
-
readonlyeName
-
Properties:
Name Type Description eName
string 建筑物英文名
-
floorSpace
-
Properties:
Name Type Description floorSpace
number 楼层间距
-
readonlylevel
-
Properties:
Name Type Description level
number 聚焦楼层
-
readonlyname
-
Properties:
Name Type Description name
string 建筑名称
-
readonlyoverviewMode
-
Properties:
Name Type Description overviewMode
fengmap.FMOverviewMode 建筑显示模式
-
visible
-
Properties:
Name Type Description visible
Boolean true 显示 false 隐藏
-
readonlyvisibleLevels
-
Properties:
Name Type Description visibleLevels
Array 当前显示楼层
-
readonlyx
-
Properties:
Name Type Description x
number 建筑物中心点x坐标
-
readonlyy
-
Properties:
Name Type Description y
number 建筑物中心点y坐标
-
readonlyzoomRange
-
室内地图的显示范围
Properties:
Type Description object
Methods
-
clearThemeExtension()
-
清空主题扩展
-
getFadeFeatures(){Array}
-
获取所有的外立面
Returns:
Type Description Array -
inherited getFloor(level){fengmap.FMFloor|null}
-
根据id获取楼层
Name Type Description level
int 楼层id
Returns:
Type Description fengmap.FMFloor | null -
inherited getFloorInfos(){Array}
-
获取所有楼层的信息
Returns:
Type Description Array -
inherited getVisibleLevels(){Array}
-
获取显示楼层
Returns:
Type Description Array arr 显示楼层数组 -
inherited setLevel(options)
-
设置地图聚焦楼层等级,如果聚焦楼层不在显示楼层范围内,则修改显示楼层,修改规则:1. 显示单楼层时,则切换显示楼层为聚焦楼层 2. 显示楼层为多层时,则把聚焦楼层添加到显示楼层中
Name Type Description options
Object 设置聚焦楼层参数
Name Type Description level
int 楼层等级
animate
boolean 是否开启动画,true:开启;false:不开启.默认开启
duration
number 动画持续时间
callback
function 开启动画时,该函数返回当前执行的动画单元,动画单元可以对当前动画进行基本操作,详细 { @link fengmap.FMAnimation }
finish
function 动画完成回调函数
-
setTheme(themeID)
-
切换主题
Name Type Description themeID
-
setThemeExtension(data)
-
设置主题扩展
Name Type Description data
json 主题数据
-
inherited setVisibleLevels(levels, callback)
-
设置显示楼层
Name Type Description levels
Array 楼层数组
callback
-
inherited traverse(callback)
-
遍历返回子节点
Name Type Description callback