new fengmap.FMFlowLineMarker(options)
FMFlowLineMarker 是一种具有流动颜色、可配和发光特效使用、可自定义线宽的线形标注
Name | Type | Description | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
配置参数
|
Members
-
show
-
是否显示marker
Properties:
Name Type Description bool
boolean true,显示;false,隐藏
Methods
-
setBackgroundColor(color)
-
设置流线背景色
Name Type Description color
string 流线背景色
-
setColor(color)
-
设置流光颜色
Name Type Description color
string 流光颜色
-
setOpacity(value)
-
设置流线透明度
Name Type Description value
number 流线透明度,取值0-1