Before taking any action authorized in RSA 674:13, 674:14, and 674:41, the zoning board of adjustment or the legislative body according to whichever of them is designated by ordinance as the body to which zoning appeals may be made, shall give a hearing at which parties in interest and others shall have an opportunity to be heard. Notice for a public hearing under this section shall be as provided in RSA 675:7.