SuperMap.WindowsPhone.Mapping.Map.LoadLayersInView C# (CSharp) Method

LoadLayersInView() private method

private LoadLayersInView ( bool useTransitions, Rectangle2D drawBounds ) : void
useTransitions bool
drawBounds SuperMap.WindowsPhone.Core.Rectangle2D
return void
        private void LoadLayersInView(bool useTransitions, Rectangle2D drawBounds)
        {
            if ((this.Layers != null) && (this.CurrentZoomAnimationHandler == null) && (!Rectangle2D.IsNullOrEmpty(drawBounds)))
            {
                foreach (Layer layer in this.Layers)
                {
                    //在这里控制的话就没有考虑到平移等情况,这个判断应该放到唯一的入口!
                    //if (CoordinateReferenceSystem.Equals(layer.CRS, CRS, true))
                    //{
                    this.LoadLayerInView(useTransitions, drawBounds, layer);
                    //}
                }
            }

        }
        internal bool isChanged { get; set; }