often called exertional leg pain, has many causes. The top three are stress fractures, shin splints, and chronic exertional compartment syndrome (CECS). All result in leg pain worsened with activity.
My preference though is to use a set of the best winter cycling shorts combined with a good quality pair of leg warmers. It means I can tailor things to the conditions much more easily ...