new fengmap.FMFloor()
Members
-
readonlyalias
-
该层的别名
Properties:
Type Description string -
readonlybound
-
Properties:
Name Type Description bound
fengmap.FMBound 边界
-
readonlyfloorID
-
Properties:
Name Type Description 该层的id
string -
readonlyID
-
该层的ID
Properties:
Type Description number -
readonlylevel
-
该层的层号
Properties:
Type Description number -
readonlyname
-
该层的名称
Properties:
Type Description string -
type
-
该层的类型
Properties:
Name Type Description type
number 返回地图坐标层类型
-
visible
-
该层显示隐藏属性
Properties:
Type Description boolean -
readonlyx
-
该层的中点X轴坐标
Properties:
Name Type Description 返回该层的中点X轴坐标
number -
readonlyy
-
该层的中点Y轴坐标
Properties:
Name Type Description 返回该层的中点Y轴坐标
number
Methods
-
clearExtentImage()
-
清除地板图片
-
inherited dispose()
-
废置地图对象
-
getLayers(type, reverse){Array}
-
获取全部图层
Name Type Description type
fengmap.FMType 获取类型,默认查询全部
reverse
Boolean 反向查询
Returns:
Type Description Array 返回查询结果。 -
setExtentImage(url)
-
给地板设置一张图片
Name Type Description url
string 图片url
-
inherited traverse(callback)
-
遍历返回子节点
Name Type Description callback