The city council of any city of the second or third class, or the borough council of any borough, or the township supervisors or township commissioners, as the case may be, of any township, or the county commissioners of any county, may designate and set apart for use as parks, playgrounds, playfields, gymnasiums, public baths, swimming pools, or indoor recreation centers, any lands or buildings owned by such city, borough township, or county, and not dedicated or devoted to other public use. Such city, borough, township, or county may, in such manner as may be authorized or provided by law for the acquisition of lands or buildings for public purposes in such city, borough, township, or county, acquire lands or buildings therein for use as parks, playgrounds, playfields, gymnasiums, public baths, swimming pools, or indoor recreation centers, or, if there be no law authorizing such acquisition, the city council or the borough council or the township supervisors or township commissioners or the county commissioners, as the case may be, may acquire lands or buildings for such purposes by gift or purchase, or may lease lands or buildings in such city, borough, township, or county for temporary use for such purposes.
53 P.S. § 24191