A positional comparison between coronal mass ejection events and solar type II bursts