protected virtual void CleanUpRequest()
        {
            UnwireEvents();

            if (_renderer != null)
            {
                _renderer.Dispose();
            }
            _renderer = null;

            if (MapView != null)
            {
                MapView.Map = null;
                MapView.Dispose();
            }
            MapView = null;

            if (Map != null)
            {
                Map.Dispose();
            }

            Map = null;

            Context   = null;
            _config   = null;
            _renderer = null;
        }
 private void EnsureRenderer()
 {
     if (_renderer == null)
     {
         _renderer = CreateMapRenderer();
     }
 }
 public void ConfigureRenderer(IMapRequestConfig requestConfig, IWebMapRenderer renderer)
 {
     ConfigureRenderer(requestConfig, (GdiImageRenderer)renderer);
 }
        protected virtual void CleanUpRequest()
        {
            UnwireEvents();

            if (_renderer != null)
            {
                _renderer.Dispose();
            }
            _renderer = null;

            if (MapView != null)
            {
                MapView.Map = null;
                MapView.Dispose();
            }
            MapView = null;

            if (Map != null)
            {
                Map.Dispose();
            }

            Map = null;

            Context = null;
            _config = null;
            _renderer = null;
        }
 private void EnsureRenderer()
 {
     if (_renderer == null)
     {
         _renderer = CreateMapRenderer();
     }
 }