setPolygonLineType()

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

Synopsis

bool setPolygonLineType(int polygonId, string lineType, int layerId = 1)

Parameter

Parameter Description
polygonId Polygon number
lineType Line-type string, which is used to draw the border
layerId Layer number of the polygon default: 1

Description

This function is used to set the border style of a specified polygon 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

addPolygon(), appendPolygonInnerBoundaries(), centerOnPolygon(), getPolygonColor(), getPolygonFillPattern(), getPolygonInnerBoundaries(), getPolygonLineType(), getPolygonLineWidth(), getPolygonOuterBoundaries(), getPolygons(), polygonExists(), removePolygon(), setPolygonColor(), setPolygonFillPattern(), setPolygonLineWidth(), setPolygonOuterBoundaries()