The Meduxnekeag River flows through the heart of the town .
The border with the Canadian province of New Brunswick is 3 mi ( 4.8 km ) east of the town 's center .
The Meduxnekeag River flows through the heart of the town , and the border with the Canadian province of New Brunswick is 3 mi ( 4.8 km ) east of the town 's center .