ArcGISWindowsPhoneSDK.CreateWebMapFromJson.webMapDocument_GetMapCompleted C# (CSharp) Method

webMapDocument_GetMapCompleted() private method

private webMapDocument_GetMapCompleted ( object sender, GetMapCompletedEventArgs e ) : void
sender object
e GetMapCompletedEventArgs
return void
        void webMapDocument_GetMapCompleted(object sender, GetMapCompletedEventArgs e)
        {
            if (e.Error == null)
            {
                e.Map.Extent = mercator.FromGeographic(new Envelope(-139.4916, 20.7191, -52.392, 59.5199)) as Envelope;
                MyMapGrid.Children.Add(e.Map);
            }
        }