polygon

polygon.clear

clear(id?: string): void

Remove one polygon by id, or clear all.

idstring

Returns: void