Here’s an example:
The Custom Code block has the following logic:
Custom Code
var linestringPoints = linestring.getPoints(); linestringPoints.push( point ); linestring.setPoints( linestringPoints )
Here’s the output of the program:
Regards, Mark