Banano one step ahead

How interested are you in developing WebApps?

  • Not at all

    Votes: 0 0.0%
  • Little

    Votes: 4 20.0%
  • Lot

    Votes: 9 45.0%
  • I am interested in additional libraries

    Votes: 2 10.0%
  • I would pay for new libraries

    Votes: 2 10.0%
  • I would donate a kidney to learn more

    Votes: 2 10.0%
  • What is banano?

    Votes: 1 5.0%

  • Total voters
    20

Star-Dust

Expert
Licensed User
Longtime User
I have recently added a more complete form of modal window which can be with one, two or three buttons, but I think I will bring it to 4


B4X:
'......
SDfunc.ShowModal(Me,"Modal","Title","This is test or text. Boh!","Cancel","Confirm","")
'......'

Private Sub Modal_ModalClick(btn As String)
    SDfunc.ShowToast("Answer : " & btn,SDfunc.TpeAlert,1000,True)
End Sub

1733677551265.png
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
Component GoogleMap

n1.gif
n2.gif


B4X:
Private Sub SDgoogleMap1_Ready (Success As Boolean)
    If Success Then
        Dim ListCoordinate As List
        ListCoordinate.Initialize2(Array (CreateMap("lat":41.9038,"lng":12.4954),CreateMap("lat":41.9014,"lng":12.4989),CreateMap("lat":41.9020,"lng":12.4925)))
        SDgoogleMap1.AddPolygon("#000000","#FFFF00",ListCoordinate)
        SDgoogleMap1.AddPolyline("#FF0000",Array(CreateMap("lat":41.9041,"lng":12.4954),CreateMap("lat":41.9054,"lng":12.4989),CreateMap("lat":41.9034,"lng":12.4989),CreateMap("lat":41.9041,"lng":12.4954)))
        SDgoogleMap1.AddMarker("Roma",41.9028, 12.4934,"")
        SDgoogleMap1.AddInfoWindow("Roma",41.9028, 12.5004)
        SDgoogleMap1.AddCircle(41.9028, 12.4964,100,"black","red")
    End If
End Sub

Private Sub SDgoogleMap1_PolygonClick (PolygonObject As BANanoObject)
    SDfunc.ShowToast($"Click PolyGon"$,SDfunc.TpeAlert,1500,False)
End Sub

Private Sub SDgoogleMap1_PolygonDblClick (PolygonObject As BANanoObject)
    Dim Drgb As Boolean = Not(SDgoogleMap1.GetObjDaggable(PolygonObject))
    SDfunc.ShowModalTimed("Circle","Polygon Double Click - DRAGGABLE " & BANano.ToString(Drgb),1500)
    SDgoogleMap1.SetObjDaggable(PolygonObject,Drgb)
End Sub

Private Sub SDgoogleMap1_MarkerClick (Title As String, MarkerObject As BANanoObject)
    SDfunc.ShowToast($"Click Marker"$,SDfunc.TpeAlert,1500,False)
End Sub

Private Sub SDgoogleMap1_InfoWindowCloseClick(InfoWindow As BANanoObject)
    SDfunc.ShowToast($"Info cloded"$,SDfunc.TpeAlert,1500,False)
End Sub

Clearly there is still a lot to implement and I won't do everything at once, but I will break it down into stages. For the moment I'm working on developing only the things I need immediately
 

Star-Dust

Expert
Licensed User
Longtime User
From the statistics, 14 people are interested in Banano bookstores, 4 of them would be willing to pay or donate another 8 only if it is free.

Of course, 14 users are too few to put so much effort into, but if interest grows I will consider the possibility of releasing a free part and one with the donation method.

You can currently download the alpha version from here.
 

Star-Dust

Expert
Licensed User
Longtime User
Added horizzontal menu, Date and time picker, New larger ToastMessage

Nuovovideo-ezgif.com-optimize.gif


The side menu for Hamburger, chips, card, flexgrid, pager remains to be created
 
Last edited:
Top