new fengmap.FMExternalModel()
Members
-
color
-
Properties:
Name Type Description colorstring 颜色值
-
readonlyeName
-
英文名称
Properties:
Type Description string -
readonlyFID
-
模型ID
Properties:
Type Description string -
readonlyheight
-
模型高度
Properties:
Type Description number -
readonlyID
-
模型ID
Properties:
Type Description number -
readonlylevel
-
模型所在层级
Properties:
Type Description string -
readonlyname
-
模型名称
Properties:
Type Description string -
readonlytype
-
Properties:
Name Type Description typefengmap.FMType 节点类型
-
readonlytypeID
-
数据类型ID
Properties:
Type Description string -
visible
-
Properties:
Name Type Description visibleBoolean true 显示 false 隐藏
-
readonlyx
-
中点X轴坐标
Properties:
Name Type Description 返回该层的中点X轴坐标number -
readonlyy
-
中点Y轴坐标
Properties:
Name Type Description 返回该层的中点Y轴坐标number -
readonlyzoomRange
-
模型比例尺范围属性
Properties:
Type Description object
Methods
-
getBound(){Object}
-
获取模型边界
Returns:
Type Description Object 获取模型边界 minX: mbound.minX, maxX: mbound.maxX, minY: mbound.minY, maxY: mbound.maxY -
getData(){Object}
-
获取外部模型数据属性
Returns:
Name Type Description ObjectObject 地板的数据属性 Name Type Description IDstring 图层唯一id typeIDstring 数据类型ID FIDstring 模型FID heightnumber 高度 namestring 模型名字 eNamestring 模型英文名字 minLevelint 最小显示级别 maxLevelint 最大显示级别 passint 通过标识 -
inherited traverse(callback)
-
遍历子类
Name Type Description callback