Updated MapsforgeWrapper

This commit is contained in:
ClemensFischer 2026-02-13 13:27:08 +01:00
parent da2d7c4e0a
commit ff4e446c03
3 changed files with 7 additions and 11 deletions

View file

@ -28,11 +28,12 @@ namespace MapsforgeWrapper
else
{
var multiMapDataStore = new MultiMapDataStore(MultiMapDataStore.DataPolicy.DEDUPLICATE);
dataStore = multiMapDataStore;
foreach (var file in Directory.EnumerateFiles(mapFilePath, "*.map"))
{
multiMapDataStore.addMapDataStore(new MapFile(file), false, false);
}
dataStore = multiMapDataStore;
}
}