map: Add function for generating quads