clear() Removes all in-memory content from the layer. The file on disk is unaffected until Save() is called. Declarationfunc clear() See AlsoSaving and reloadingsave()reload()