(a) Construction and repair.--Boroughs shall have the power to construct and repair wharves and docks and may acquire, by purchase or condemnation, real estate along navigable waters and within the borough limits as needed for the construction. Prior to any condemnation, a borough shall enact an ordinance authorizing the same.
(b) Additional powers.--Boroughs have the following additional powers:
(1) To regulate, fix and enforce the collection of the rate of wharfage for all public wharves and docks within its limits.
(2) To regulate the anchoring of vessels, boats or rafts within the borough limits.
(3) To regulate the depositing of freight on the public wharves.