find nearest marker