The Maple Square development will provide a mix of affordable and market rate housing and retail to downtown Danvers.