remove

fun remove(polyline: Polyline): Boolean(source)

Removes a polyline from the collection.

const p = polylines.add(...);
polylines.remove(p); // Returns true

Return

true if the polyline was removed; false if the polyline was not found in the collection.

Parameters

polyline

The polyline to remove.

See also