/// 地图加载错误时显示错误信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ArcGISTiledMapServiceLayer_InitializationFailed(object sender, EventArgs e)
        {
            ESRI.ArcGIS.Client.Layer layer = sender as ESRI.ArcGIS.Client.Layer;
            MessageBox.Show(layer.InitializationFailure.ToString());
        }
posted on 2011-06-01 13:59  hl3292  阅读(300)  评论(0编辑  收藏  举报