map as flag