To remove an object from the map, click the button that is next to the object icon, or in the context menu, select Remove from map.
To delete a map switch, you must click the button.