Members
-
ename
-
ename
Properties:
Name Type Description enamestring 英文名称
-
FID
-
FID
Properties:
Name Type Description FIDstring 全地图内唯一的模型ID
-
groupID
-
楼层id
Properties:
Name Type Description groupIDnumber 楼层id
-
height
-
高度
Properties:
Name Type Description heightnumber 高度
-
ID
-
ID
Properties:
Name Type Description IDnumber 当前楼层内唯一的模型ID
-
readonlymapCoord
-
模型中心点坐标
Properties:
Name Type Description mapCoordjson 模型中心点坐标
-
maxlevel
-
maxlevel
Properties:
Name Type Description maxlevelstring 最大显示级别
-
minlevel
-
minlevel
Properties:
Name Type Description minlevelstring 最小显示级别
-
name
-
name
Properties:
Name Type Description namestring 名称
-
readonlynodeType
-
地图元素对象类型
Properties:
Name Type Description nodeTypefengmap.FMNodeType 地图元素对象类型
-
selected
-
选中高亮
Properties:
Name Type Description selectedbool 选中高亮。【true】:高亮 【false】: 取消高亮
-
show
-
地图元素的显示/隐藏
Properties:
Name Type Description showbool 【true】: 显示,【false】: 隐藏
-
typeID
-
typeID
Properties:
Name Type Description typeIDstring 类型
Methods
-
addStoreImage(param)
-
添加顶面贴图
Name Type Description paramjson Name Type Description mapCoordjson 地图坐标
imagestring 贴图图片路径
offSetarray 贴图图片偏移值。[offsetx,offsety]
sizearray 贴图图片尺寸。[width,height]
anglenumber 旋转角度
-
inherited alwaysShow()
-
是否一直显示。
-
inherited avoid(value)
-
图层内或单个元素与同一图层内的其他元素在同一位置有相互遮盖时,是否自动避让。FMImageMarker FMTextMarker有效。
Name Type Description valuebool 【true】: 需避让,【false】: 不避让。注意:avoid方法与show属性不能同时使用,使用avoid方法会自动更新show属性的值。
-
flash()
-
闪烁
-
removeStoreImage()
-
移除顶面贴图
-
setColor(color, opacity)
-
设置模型颜色
Name Type Description colorstring | int 颜色值
opacityfloat 透明度
-
setColorToDefault()
-
重置回模型默认颜色
-
setFlashColor(color)
-
设置闪烁颜色
Name Type Description colorstring | int 颜色值
-
setStrokeColor(color, opacity)
-
设置线颜色
Name Type Description colorstring | int 颜色值
opacityfloat 透明度
-
setStrokeColorToDefault()
-
重置回模型线默认颜色
-
stopFlash()
-
取消闪烁