I've had bad leg cramps for years. Deep throbbing knots lasting for hours, Almost always coming at night but after exercise that day. Golf is much more of a precursor than cycling.
But in the last year or two, the cramps are more often coming in the shin. It's not the same pain as shin splints, it's a different sort of cramp. Often extends into the top of the foot. It's an odd change after decades of cramping in a different way. The shin cramps are a bit better in that they don't last as long.