public CheckMapExtension() { var dataPath = @"X:\GIS\ThemeMgr\DataMoves.csv"; _moves = new Moves(dataPath); _mapFixer = new MapFixer(); }
internal async Task CheckMapAsync(Map map) { if (map.HasBrokenLayers()) { if (_moves == null) { await LoadMovesAsync(); } await QueuedTask.Run(() => { MapFixer.FixMap(map, _moves); }); } }