Save shape mask from map