print map to console button