remove
Removes a polyline from the collection.
const p = polylines.add(...);
polylines.remove(p); // Returns trueContent copied to clipboard
Return
true if the polyline was removed; false if the polyline was not found in the collection.
Parameters
polyline
The polyline to remove.