You can either move them off-map where they can't be seen, like
"myMarker" setMarkerPos [-10000,-10000]
and then move them back to their original position, or you can give them zero size
"myMarker" setMarkerSize [0,0]
and subsequently resize them back, e.g.
"myMarker" setMarkerSize [100,50]