getLinePoints()

Returns the points of a specified line of the Maps EWO.

Synopsis

bool getLinePoints(int lineId, dyn_float& latitudes, dyn_float& longitudes, int layerId = 1)

Parameter

Parameter Description
lineId Line number
latitudes List of latitudes of the points
longitudes List of longitudes of the points.
layerId layer number of the line default: 1

Description

This function returns the coordinates for all points of a specified line of the Maps EWO. It returns false in case of an error.

Assignment

Maps Widget

See also

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