If I try to load the simple attached map.html file into a B4J webview this doesn't work.
With any browser, yes.
The html file contains an OpenStreetMap map with scripts.
Can anyone help me?
Thanks in advance.
My Code
With any browser, yes.
The html file contains an OpenStreetMap map with scripts.
Can anyone help me?
Thanks in advance.
My Code
My Code:
Sub Process_Globals
Private fx As JFX
Private MainForm As Form
Private xui As XUI
Private Button1 As B4XView
Private WebView1 As WebView
End Sub
Sub AppStart (Form1 As Form, Args() As String)
MainForm = Form1
MainForm.RootPane.LoadLayout("main")
Dim S As String
S=File.ReadString(File.DirApp,"map.html")
WebView1.LoadHtml(S)
MainForm.Show
End Sub