Beispiel #1
0
        public CheckMapExtension()
        {
            var dataPath = @"X:\GIS\ThemeMgr\DataMoves.csv";

            _moves    = new Moves(dataPath);
            _mapFixer = new MapFixer();
        }
Beispiel #2
0
 internal async Task CheckMapAsync(Map map)
 {
     if (map.HasBrokenLayers())
     {
         if (_moves == null)
         {
             await LoadMovesAsync();
         }
         await QueuedTask.Run(() =>
         {
             MapFixer.FixMap(map, _moves);
         });
     }
 }