There is a sample (WorldSensing/SpatialMap_Sparse_Localizing) for that, you can use that sample in Unity editor, with a little modification. Use eif file to run in Unity editor (please reference DeviceSupport/FrameRecording sample).
Do not try to manually download the map, you do not need it and you cannot do it. The map data is not what you think it is.