Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface GetOptionsResult<ExtraData>

Type parameters

  • ExtraData = any

Hierarchy

Index

Properties

borderWeight

borderWeight: number

描边的宽度

bubble

bubble: boolean

事件是否穿透到地图

clickable

clickable: boolean

是否支持点击

dirColor

dirColor: string

方向箭头颜色

dirImg

dirImg: string

方向箭头图片

extData

extData: {} | ExtraData

自定义属性

geodesic

geodesic: boolean

是否绘制成大地线

isOutline

isOutline: boolean

线条是否带描边

lineCap

lineCap: StrokeLineCap

折线两端线帽的绘制样式

lineJoin

lineJoin: StrokeLineJoin

折线拐点的绘制样式

map

map: Map

所属地图

outlineColor

outlineColor: string

线条描边颜色

path

path: LngLat[]

折线的节点数组

showDir

showDir: boolean

是否延路径显示方向箭头

strokeColor

strokeColor: string

线条颜色

strokeDasharray

strokeDasharray: number[]

虚线的分段

strokeOpacity

strokeOpacity: number

线条透明度

strokeStyle

strokeStyle: StrokeStyle

线条样式,虚线或者实线

strokeWeight

strokeWeight: number

线条宽度

zIndex

zIndex: number

层级

Generated using TypeDoc