Members
-
readonlyFID
-
元素FID
Properties:
Type Description string -
readonlyID
-
ID
Properties:
Type Description number -
readonlybindBuildingID
-
当前对象所关联的子地图的 buildingID, undefinded表示未关联任何子地图
Properties:
Type Description string | undefined -
readonlybound
-
Properties:
Name Type Description bound
fengmap.FMBound 边界
-
readonlyeName
-
英文名称
Properties:
Type Description string -
readonlyheight
-
元素高度
Properties:
Type Description number -
readonlylevel
-
元素所在层级
Properties:
Type Description string -
readonlyname
-
中文名称
Properties:
Type Description string -
text
-
显示文字内容
Properties:
Name Type Description text
string -
readonlytype
-
Properties:
Name Type Description type
fengmap.FMType 节点类型
-
readonlytypeID
-
数据类型ID
Properties:
Type Description string -
visible
-
Properties:
Name Type Description visible
Boolean true 显示 false 隐藏
-
readonlyx
-
中点X轴坐标
Properties:
Name Type Description 返回中点X轴坐标
number -
readonlyy
-
中点Y轴坐标
Properties:
Name Type Description 返回中点Y轴坐标
number
Methods
-
inherited dispose()
-
废置地图对象
-
inherited getBelongedBuildingID(){string|null}
-
获取当前对象所属的 buildingID
Returns:
Type Description string | null null 表示归属为当前地图或室内外一体化中的室外主地图 -
inherited getData(){Object}
-
获取模型数据属性
Returns:
Name Type Description Object
Object 模型的数据属性 Name Type Description ID
number 数据ID typeID
string 数据类型ID FID
string 模型FID height
number 高度 name
string 模型名字 eName
string 模型英文名字 minLevel
int 最小显示级别 maxLevel
int 最大显示级别 -
inherited traverse(callback)
-
遍历返回子节点
Name Type Description callback