Whitehaven Harbour is set to receive £2.45m for a water sports and recreational centre as part of the Coastal Communities Fund.