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

AssignLayerContainer() private method

private AssignLayerContainer ( Layer layer ) : void
layer Layer
return void
        private void AssignLayerContainer(Layer layer)
        {
            if (layer.Container.Parent == null && layer.IsInitialized && layer.Error == null)
            {
                layer.Container.OriginX = this.origin.X;
                layer.Container.OriginY = this.origin.Y;
                layer.Container.Resolution = this.mapResolution;
                this.InsertLayerContainer(layer);
            }
        }
        private void InsertLayerContainer(Layer layer)