private bool HasClusteredFeatureLayers()
        {
            LayerInfo info = LayerInfos != null?
                             LayerInfos.FirstOrDefault(li => li.Layer != null && li.Layer.Clusterer != null) :
                                 null;

            return(info != null);
        }
        private void LayerInfo_PropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            if (e.PropertyName == "IsChecked")
            {
                LayerInfo info = sender as LayerInfo;
                if (info != null)
                {
                    SetFeatureLayerEditingProperties(info.Layer, info.IsChecked);
                }

                if (!UseDefaultLayerIds)
                {
                    RefreshLayerIds();
                }
            }
        }