Added full functionality to design a map.