private async void load(string url)
        {
            HMS.SP.FieldGeolocationValue spFieldGeolocationValue = await SPGet.getFieldGeolocationValue(spglb.myClient, url);

            this.add_FieldGeolocationValue(1, spFieldGeolocationValue);
            this.hide_running();
        }
Ejemplo n.º 2
0
 public int  add_FieldGeolocationValue(int pos, int level, HMS.SP.FieldGeolocationValue spFieldGeolocationValue)
 {
     if (spFieldGeolocationValue.__HMSError_ != null && (spFieldGeolocationValue.__HMSError_.errno != 0 || spFieldGeolocationValue.__HMSError_.info != ""))
     {
         pos = this.add_lineAt(pos, level, "__HMSError", HMS.Util.__HMSError.toString(spFieldGeolocationValue.__HMSError_));
     }
     pos = this.add__deferred(pos, level, spFieldGeolocationValue.__deferred_);
     pos = this.add__metadata(pos, level, spFieldGeolocationValue.__metadata_);
     pos = this.add__rest(pos, level, spFieldGeolocationValue.__rest);
     pos = this.add_lineAt(pos, level, "Altitude", HMS.SP.SPUtil.toString(spFieldGeolocationValue.Altitude_));   //Double;
     pos = this.add_lineAt(pos, level, "Latitude", HMS.SP.SPUtil.toString(spFieldGeolocationValue.Latitude_));   //Double;
     pos = this.add_lineAt(pos, level, "Longitude", HMS.SP.SPUtil.toString(spFieldGeolocationValue.Longitude_)); //Double;
     pos = this.add_lineAt(pos, level, "Measure", HMS.SP.SPUtil.toString(spFieldGeolocationValue.Measure_));     //Double;
     return(pos);
 }
Ejemplo n.º 3
0
 public int add_FieldGeolocationValue_deferred(int pos, int level, HMS.SP.FieldGeolocationValue spFieldGeolocationValue)
 {
     {
         string useUrl = spFieldGeolocationValue.__deferred_.uri;
         if (!String.IsNullOrEmpty(useUrl))
         {
             pos = this.add_lineAt(pos, level, false, "FieldGeolocationValue", "", knownPages.pageFieldGeolocationValue, useUrl);
         }
         else
         {
             pos = this.add_lineAt(pos, level, true, "FieldGeolocationValue", "", knownPages.NONE, "");
             pos = this.add_FieldGeolocationValue(pos, level + 1, spFieldGeolocationValue);
         }
     }
     return(pos);
 }
Ejemplo n.º 4
0
 public int add_FieldGeolocationValue(int level, HMS.SP.FieldGeolocationValue spFieldGeolocationValue)
 {
     return(add_FieldGeolocationValue(-1, level, spFieldGeolocationValue));
 }