removePolygon()

The function removes a polygon from the Maps EWO.

Synopsis

bool removePolygon(int polygonId, int layerId = 1)

Parameter

Parameter Description
polygon polygon number
layerId layer number of polygon. Default: 1

Description

This function removes a specified polygon from the Maps EWO. It returns true when the action is successful, otherwise false.

Assignment

Maps Widget

See also

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