add maps directive