add addInfo flag to manage info/legend controls separatly