protected void E110D2( )
 {
     /* Start Routine */
     AV12SplittedGeolocation = GxRegex.Split(AV7Geolocation, ",");
     if (AV12SplittedGeolocation.Count == 2)
     {
         GxMapPoint.gxTpr_Pointlat  = StringUtil.Trim(AV12SplittedGeolocation.GetString(1));
         GxMapPoint.gxTpr_Pointlong = StringUtil.Trim(AV12SplittedGeolocation.GetString(2));
         GxMapData.gxTpr_Points.Add(GxMapPoint, 0);
         Googlemapcontrol1_Latitude = StringUtil.Trim(AV12SplittedGeolocation.GetString(1));
         ucGooglemapcontrol1.SendProperty(context, "", false, Googlemapcontrol1_Internalname, "Latitude", Googlemapcontrol1_Latitude);
         Googlemapcontrol1_Longitude = StringUtil.Trim(AV12SplittedGeolocation.GetString(2));
         ucGooglemapcontrol1.SendProperty(context, "", false, Googlemapcontrol1_Internalname, "Longitude", Googlemapcontrol1_Longitude);
     }
 }
Exemple #2
0
 protected void E110B2( )
 {
     /* Start Routine */
     AV12SplittedGeolocation = GxRegex.Split(AV7Geolocation, ",");
     if (AV12SplittedGeolocation.Count == 2)
     {
         GxMapPoint.gxTpr_Pointlat  = StringUtil.Trim(AV12SplittedGeolocation.GetString(1));
         GxMapPoint.gxTpr_Pointlong = StringUtil.Trim(AV12SplittedGeolocation.GetString(2));
         GxMapData.gxTpr_Points.Add(GxMapPoint, 0);
         Googlemapcontrol1_Latitude  = StringUtil.Trim(AV12SplittedGeolocation.GetString(1));
         Googlemapcontrol1_Longitude = StringUtil.Trim(AV12SplittedGeolocation.GetString(2));
     }
     GXt_boolean1 = AV14IsAuthorized;
     new GeneXus.Programs.wwpbaseobjects.secisauthbyfunctionalitykey(context).execute("PromptGeolocation", out GXt_boolean1);
     AV14IsAuthorized = GXt_boolean1;
     if (!AV14IsAuthorized)
     {
         CallWebObject(formatLink("wwpbaseobjects.notauthorized.aspx") + "?" + UrlEncode(StringUtil.RTrim(AV18Pgmname)));
         context.wjLocDisableFrm = 1;
     }
 }