The local municipality may, before or during the erection or demolition of any building, impose any reasonable conditions in addition to the conditions and requirements for the purpose of safeguarding the interests of the general public, and every condition so imposed must be observed by the owner.