27/9/23 - Se agregó codigo para generar geocercas.

- Solo la parte visual, todavia no guarda nada.
This commit is contained in:
2023-09-27 16:24:27 -06:00
parent 5438cd9635
commit 04f4ee31b2
2 changed files with 22 additions and 0 deletions

Binary file not shown.

View File

@@ -177,6 +177,10 @@ Sub Globals
Private rutaSeleccionada As String = "" Private rutaSeleccionada As String = ""
Private p_contenedor1 As Panel Private p_contenedor1 As Panel
Private cb_puntosIntermedios As CheckBox Private cb_puntosIntermedios As CheckBox
Private p_addGeofence As Panel
Private et_gc_nombre As EditText
Private b_gc_cancelar As Button
Private b_gc_ok As Button
End Sub End Sub
Sub Activity_Create(FirstTime As Boolean) 'ignore Sub Activity_Create(FirstTime As Boolean) 'ignore
@@ -524,6 +528,13 @@ Sub MapFragment1_Ready
' Subs.mueveCamaraMapa(MapFragment1, latmarker, longmarker) ' Subs.mueveCamaraMapa(MapFragment1, latmarker, longmarker)
End Sub End Sub
Sub MapFragment2_LongClick(Point As LatLng)
Log("LONG: " & Point)
p_addGeofence.BringToFront
p_addGeofence.Left = (Activity.Width / 2) - (p_addGeofence.Width / 2)
p_addGeofence.Visible = True
End Sub
Sub InfoWindowAdapter1_GetInfoContents(Marker1 As Marker) As View Sub InfoWindowAdapter1_GetInfoContents(Marker1 As Marker) As View
' the default InfoContent will be used if this event Sub is not defined or if it returns Null ' the default InfoContent will be used if this event Sub is not defined or if it returns Null
' Log("InfoWindowAdapter1_GetInfoContents") ' Log("InfoWindowAdapter1_GetInfoContents")
@@ -769,4 +780,15 @@ End Sub
Private Sub s_rutas_ItemClick (Position As Int, Value As Object) Private Sub s_rutas_ItemClick (Position As Int, Value As Object)
rutaSeleccionada = Value rutaSeleccionada = Value
End Sub
Private Sub p_addGeofence_Click
End Sub
Private Sub b_gc_ok_Click
p_addGeofence.Visible = False
End Sub
Private Sub b_gc_cancelar_Click
p_addGeofence.Visible = False
End Sub End Sub