コード例 #1
0
        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;
        }
コード例 #2
0
 private void EnsureRenderer()
 {
     if (_renderer == null)
     {
         _renderer = CreateMapRenderer();
     }
 }
コード例 #3
0
 public void ConfigureRenderer(IMapRequestConfig requestConfig, IWebMapRenderer renderer)
 {
     ConfigureRenderer(requestConfig, (GdiImageRenderer)renderer);
 }
コード例 #4
0
        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;
        }
コード例 #5
0
 private void EnsureRenderer()
 {
     if (_renderer == null)
     {
         _renderer = CreateMapRenderer();
     }
 }