setLineType()

Sets the type of a specified line of the Maps EWO.

Synopsis

bool setLineType(int lineId, string lineType, int layerId = 1)

Parameter

Parameter Description
lineId Line number
lineType Line-type string used for drawing the line
layerId Layer number of the line default: 1

Description

This function is used to set the style of a specified line of the Maps EWO. By default, the line type is “[solid,oneColor,JoinBevel,CapProjecting,1]”. It returns false in case of an error, otherwise true.

Assignment

Maps Widget

See also

addLine(), addPointToLine(), centerOnLine(), getLineColor(), getLinePoints(), getLines(), getLineType(), getLineWidth(), lineExists(), removeLine(), setLineColor(), setLineWidth()