#16 in ExportMapToFileDialog use HeadlessMapProvider.createHeadlessMapProviderAndAddLayers() to create a new headlessMapProvider.
Merge branch 'feature/16-export-map' into dev