added constructors in map and nav views to pass building/beacon data