Exemplo n.º 1
0
 async public Task RefreshActiveMap(DrawPhase drawPhase)
 {
     if (_application is IMapApplication)
     {
         await((IMapApplication)_application).RefreshActiveMap(drawPhase);
     }
     else if (_control != null)
     {
         await _control.RefreshMap();
     }
 }
Exemplo n.º 2
0
        public void RefreshActiveMap(DrawPhase drawPhase)
        {
            if (_application is IMapApplication)
            {
                ((IMapApplication)_application).RefreshActiveMap(drawPhase);
            }

            else if (_control != null)
            {
                _control.RefreshMap();
            }
        }