${iServerJava6R_DatasetOverlayAnalystArgs_Title}

${iServerJava6R_DatasetOverlayAnalystArgs_Description}

Наследование: SuperMap.Web.Service.ServiceEventArgs
 void datasetOverlayAnalystService_ProcessCompleted(object sender, DatasetOverlayAnalystArgs e)
 {
     foreach (Feature feature in e.Result.Recordset.Features)
     {
         feature.Style = new PredefinedFillStyle
         {
             StrokeThickness = 1,
             Fill = new SolidColorBrush
             {
                 Color = Colors.Magenta,
                 Opacity = 0.8
             }
         };
     }
     featuresLayer.AddFeatureSet(e.Result.Recordset.Features);
 }
        private void OverlayAnalystService_Complated(object sender, RequestEventArgs args)
        {
            System.Json.JsonObject jsonResult = (System.Json.JsonObject)System.Json.JsonValue.Parse(args.Result);
            DatasetOverlayAnalystResult result = DatasetOverlayAnalystResult.FromJson((JsonObject)jsonResult["recordset"]);
            lastResult = result;
            DatasetOverlayAnalystArgs e = new DatasetOverlayAnalystArgs(result, args.Result, args.UserState);

            if (ProcessCompleted != null)
            {
                ProcessCompleted(this, e);
            }
        }
 private void datasetOverlayAnalystService_ProcessCompleted(object sender, DatasetOverlayAnalystArgs e)
 {
     resultLayer.AddFeatureSet(e.Result.Recordset.Features);
 }