From level 10, a cat fighting or gathering now and then turns up a treasure map, online or napping, about one every 3 hours. You can hold five.
Each map is a sketch of a place you have been, with an X on one of its ledges. Walk there and dig, from the new Treasure page in your Journal or on the spot. Torn Maps take one dig; Old and Ancient Maps lead on to more, with less written on them.
The chest at the end holds gold, Moonbeams and materials, and sometimes one of 30 trinkets, a Treasure Hunter look, a dye or a new Fortress decoration. No quest needs a map: they are yours to do whenever you like.