Class: FMFacility

FMFacility

FMFacility 公共设施对象,是一种地图内置图层的对象,只读,不可实例化。

构造FMFacility类

Name Type Description
data *

Members

readonlyename

英文名称

Properties:
Type Description
string

readonlyheight

模型高度

Properties:
Type Description
number

readonlylevel

模型所在层级

Properties:
Type Description
string

readonlyname

英文名称

Properties:
Type Description
string

readonlytype

类型

Properties:
Name Type Description
type fengmap.FMType

8192

visible

模型显示隐藏属性

readonlyx

X轴坐标

Properties:
Name Type Description
返回该层的中点X轴坐标 number

readonlyy

Y轴坐标

Properties:
Name Type Description
返回该层的中点Y轴坐标 number

Methods

getData(){Object}

获取公共设施数据属性

Returns:
Name Type Description
Object Object 公共设施数据属性
Name Type Description
typeID string 数据类型ID
FID string 模型FID
height number 高度
name string 模型名字
eName string 模型英文名字
minLevel int 最小显示级别
maxLevel int 最大显示级别
pass int 通过标识