The shape of maps