PolylineOptions
Polyline initialization options.
undefined
string
The line color in hexadecimal RGB (#ff0000
) or RGBA (#ff0000ff
) format.
undefined
string
The second line color in hexadecimal RGB (#ff0000
) or RGBA (#ff0000ff
) format.
[DEPRECATED] Will be removed in the next major release, use additional Polyline to draw an extra line with a different color.
undefined
string
The third line color in hexadecimal RGB (#ff0000
) or RGBA (#ff0000ff
) format.
[DEPRECATED] Will be removed in the next major release, use additional Polyline to draw an extra line with a different color.
number[][]
An array of polyline coordinates: [firstPoint, secondPoint, ...]
.
Each point is a geographical point: [longitude, latitude]
.
number
Expression
The length of the dash in pixels. If no dash length is specified, a polyline will be drawn.
undefined
string
The gap color in hexadecimal RGB (#ff0000
) or RGBA (#ff0000ff
) format.
number
Expression
The length of the gap in pixels. The default gap length is equal to the dash length.
undefined
string
The color of a line section that is hidden by other objects in '3d' rendering mode
in RGB hexadecimal (#ff0000
) or RGBA (#ff0000ff
) format.
undefined
string
The gap color of a line section that is hidden by other objects in '3d' rendering mode
in RGB hexadecimal (#ff0000
) or RGBA (#ff0000ff
) format.
undefined
false
true
Allows the polyline to emit events (like mouseover
). true
by default.
undefined
number
Maximum display styleZoom.
undefined
number
Minimum display styleZoom.
Rendering mode. '2d' is default.
any
User specific data.
number
Expression
The line width in pixels.
number
Expression
The second line width in pixels.
[DEPRECATED] Will be removed in the next major release, use additional Polyline to draw an extra line with a different width.
number
Expression
The third line width in pixels.
[DEPRECATED] Will be removed in the next major release, use additional Polyline to draw an extra line with a different width.
undefined
number
Draw order of the first line.
undefined
number
Draw order of second line.
[DEPRECATED] Will be removed in the next major release, use additional Polyline to draw an extra line with a different zIndex.
undefined
number
Draw order of third line.
[DEPRECATED] Will be removed in the next major release, use additional Polyline to draw an extra line with a different zIndex.