How does Tencent Map get rid of all marker

when using Tencent Map, I want to delete all the overlays on the map, but using the .setMap (null); method in the document does not work. How can I remove all the overlays on the map?

Mar.16,2021
Menu