public override void Execute(object parameter)
 {
     HeatMapFeatureLayerHelper.AddHeatMapLayer(Layer, View.Instance);
 }
 public override bool CanExecute(object parameter)
 {
     return(HeatMapFeatureLayerHelper.SupportsLayer(Layer));
 }
 private void bindUI()
 {
     IsEnabled = HeatMapFeatureLayerHelper.SupportsLayer(Layer) || Layer is HeatMapFeatureLayer ||
                 Layer is ESRI.ArcGIS.Client.Toolkit.DataSources.HeatMapLayer;
 }