new fengmap.FMPolygonMarker(options)
| Name | Type | Description | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
json |
参数
|
Members
-
borderColor
-
Properties:
Name Type Description colorstring 如:'#ff0000'
-
borderWidth
-
Properties:
Name Type Description valnumber 线宽
-
color
-
修改颜色
Properties:
Name Type Description colorString 如:'#ff0000'
-
height
-
离地高度
Properties:
Name Type Description heightnumber 离地高度
-
readonlylevel
-
Properties:
Name Type Description levelnumber 楼层等级,初始化完成后可以获取当前值
-
opacity
-
Properties:
Name Type Description opacitynumber 透明度
-
readonlypoints
-
Properties:
Name Type Description pointsArray 点集合
-
readonlytype
-
Properties:
Name Type Description typefengmap.FMType 节点类型
-
visible
-
Properties:
Name Type Description visibleBoolean true 显示 false 隐藏
Methods
-
addTo(floor)
-
添加到楼层
Name Type Description floorObject 楼层等级
-
getBound()
-
获取Bound
-
remove()
-
从楼层中移除