${IS6_MeasureResult_Title}

${IS6_MeasureResult_Description}

        //public int TrackingLayerIndex { get; private set; }
        //public string UserID { get; private set; }
        /// <summary>${IS6_MeasureResult_method_FromJson_D}</summary>
        /// <param name="jsonObject">${IS6_MeasureResult_method_FromJson_param_jsonObject}</param>
        /// <returns>${IS6_MeasureResult_method_FromJson_return}</returns>
        public static MeasureResult FromJson(JsonObject jsonObject)
        {
            if (jsonObject == null)
            {
                return null;
            }

            MeasureResult result = new MeasureResult();
            result.Distance = (double)jsonObject["distance"];
            result.Area = (double)jsonObject["area"];
            //result.TrackingLayerIndex = (int)jsonObject["trackingLayerIndex"];
            //result.UserID = jsonObject["userID"];
            return result;
        }
 /// <summary>${IS6_MeasureEventArgs_constructor_D}</summary>
 /// <param name="result">${IS6_MeasureEventArgs_constructor_param_result}</param>
 /// <param name="originResult">${IS6_MeasureEventArgs_constructor_param_originResult}</param>
 /// <param name="token">${IS6_MeasureEventArgs_constructor_param_token}</param>
 public MeasureEventArgs(MeasureResult result, string originResult, object token)
     : base(token)
 {
     Result = result;
     OriginResult = originResult;
 }
 private void request_Completed(object sender, RequestEventArgs e)
 {
     JsonObject jsonObject = (JsonObject)JsonObject.Parse(e.Result);
     MeasureResult result = MeasureResult.FromJson(jsonObject);
     LastResult = result;
     MeasureEventArgs args = new MeasureEventArgs(result, e.Result, e.UserState);
     OnProcessCompleted(args);
 }