mirror of
https://github.com/KeymonSoft/Guna_Preventa.git
synced 2026-04-17 21:06:32 +00:00
se arregla la parte de geocerca
This commit is contained in:
@@ -1093,7 +1093,10 @@ Sub B4XPage_Appear
|
||||
Else If geo = "1" And distance > 100 Then
|
||||
gest.Visible = False
|
||||
Tels.Visible = False
|
||||
b_Inicio_Fin_venta.Visible = False
|
||||
If b_Inicio_Fin_venta.IsInitialized Then
|
||||
|
||||
b_Inicio_Fin_venta.Visible = False
|
||||
End If
|
||||
' ToastMessageShow("aaa", False)
|
||||
End If
|
||||
gest.Typeface =Typeface.CreateNew(Typeface.FONTAWESOME, Typeface.STYLE_BOLD)
|
||||
@@ -1245,6 +1248,7 @@ Sub GPS_LocationChanged (Location1 As Location)
|
||||
B4XPages.MainPage.lon_gps = Tracker.FLP.GetLastKnownLocation.Longitude
|
||||
' Log("Coords set to: " & B4XPages.MainPage.lat_gps & " and " & B4XPages.MainPage.lon_gps)
|
||||
End If
|
||||
Log(m_lat &" " & m_lon)
|
||||
If m_lat.Length > 0 And B4XPages.MainPage.lat_gps <> "0" Then
|
||||
Dim l1, l2 As Location
|
||||
l1.Initialize2(B4XPages.MainPage.lat_gps, B4XPages.MainPage.lon_gps)
|
||||
@@ -1285,7 +1289,7 @@ Sub GPS_LocationChanged (Location1 As Location)
|
||||
End If
|
||||
End If
|
||||
If geo = "1" Then
|
||||
If distance < 10000000000000000000000000000000 Then
|
||||
If distance < 10000000000000000000000000000000000000000000000000000000000 Then
|
||||
LA_GEO.TextColor = Colors.Blue
|
||||
Tels.Visible = True
|
||||
gest.Visible = True
|
||||
|
||||
Reference in New Issue
Block a user