private void InitBinding()
        {
            var m_FealyrList = MainWindow.m_DotMap.GetFeatureLayers();
            ObservableCollection <LocationLayerModel> temp = new ObservableCollection <LocationLayerModel>();

            foreach (FeatureLayer layer in m_FealyrList)
            {
                LocationLayerModel model = new LocationLayerModel();
                model.ImagePath = GetImagePath(layer.FeatureSet.FeatureType);
                model.IsChecked = false;
                model.Layer     = layer;
                model.LayerName = layer.LegendText;
                temp.Add(model);
            }
            TargetLayers = temp;
            List <LocationLayerModel> list = (from u in TargetLayers
                                              where u.IsChecked == false
                                              select u).ToList();

            list.ForEach(x => SourceLayers.Add(x));
            if (SourceLayers.Count > 0)
            {
                SelectedSourceLayer = SourceLayers[0];
            }
        }
        public void ResetSourceLayers()
        {
            SourceLayers.Clear();
            SelectedSourceLayer = null;
            List <LocationLayerModel> list = (from u in TargetLayers
                                              where u.IsChecked == false
                                              select u).ToList();

            list.ForEach(x => SourceLayers.Add(x));
            if (SourceLayers.Count > 0)
            {
                SelectedSourceLayer = SourceLayers[0];
            }
        }