Now placing marker at the closest clicked vertex