Cape Cod was a landmark for early explorers of the North American coast. In 1524, Verrazano approached it from the south and in the following year Gomez named it Cape St. James. It received its current name from Bartholomew Gosnold in the following year. Champlain visited and charted the harbors in 1609, while Captain John Smith marked it on his map in 1614. Before landing on the mainland, the Pilgrims stopped at the present site of Provincetown in November, 1620, where they drew up the Mayflower Compact. Whaling prospered in the 18th century. Shipbuilding was important before and after the American Revolution. In the 19th century, cranberry growing became popular.