I have a problem with an application that contains a google map: on my B4J programming pc, it works correctly, but in place 16.04 it does not show the map.
I have to get a specific version on jre1.8.0_211
, only with this version it worked, I try all the other suggested versions but it doesn't work. Has this happened to another person?
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
' I show here
MainForm.Show
' and call LoadLayout here
MainForm.RootPane.LoadLayout("1") 'Load the layout file.
Dim options As MapOptions
options.StreetViewControl = False
gmap.Initialize("gmap", options) 'You should call Initialize2 and set the API key!
Pane1.AddNode(gmap.AsPane, 0, 0, Pane1.Width, Pane1.Height)
MarkerInfos.Initialize
End Sub
Thanks for your answer.
This code is correct? or I must pause after loading the form