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

layer_Initialized() private method

private layer_Initialized ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void layer_Initialized(object sender, EventArgs e)
        {
            if ((!Rectangle2D.IsNullOrEmpty(this.ViewBounds)) && (this.panHelper != null) && (this.CurrentZoomAnimationHandler == null))
            {
                if ((currentSize.Height > 0.0) && (currentSize.Width > 0.0))
                {
                    this.CalculateStartViewBounds(currentSize);
                    if ((!Rectangle2D.IsNullOrEmpty(this.ViewBounds)) && !double.IsNaN(this.mapResolution))
                    {
                        this.LoadLayerInView(false, this.ViewBounds, sender as Layer);
                    }
                }
            }
        }
        private void layer_OnLayerChanged(object sender, EventArgs args)