remove

Compass.remove()

Remove the compass from the map.

Note

You can also remove a compass by clicking on it and pressing the β€œdelete” button on the keyboard (while holding down the mouse-button)