${iServerJava6R_GeometryOverlayAnalystArgs_Title}

${iServerJava6R_GeometryOverlayAnalystArgs_Description}

Inheritance: SuperMap.Web.Service.ServiceEventArgs
        private void OverlayAnalystService_Complated(object sender, RequestEventArgs args)
        {
            JsonObject json = (JsonObject)JsonObject.Parse(args.Result);

            GeometryOverlayAnalystResult result = GeometryOverlayAnalystResult.FromJson((JsonObject)json["resultGeometry"]);
            lastResult = result;
            GeometryOverlayAnalystArgs e = new GeometryOverlayAnalystArgs(result, args.Result, args.UserState);

            if (ProcessCompleted != null)
            {
                ProcessCompleted(this, e);
            }
        }
 private void geometryOverlayService_ProcessCompleted(object sender, GeometryOverlayAnalystArgs e)
 {
     var f = new Feature
     {
         Geometry = (GeoRegion)e.Result.ResultGeometry
     };
     resultLayer.AddFeature(f);
 }