draw: add map/unmap directives for swtnl driver interface