I'm doing some experiments with googlemap looking to some examples in this website Google Maps API links
I load an example in a browser on the pc, for example this one:
Google Maps JavaScript API v3 Example: Complex Icons
I caputure the source code and put it in a text file "gmapSample.txt".
I transfer the text files on android device, then I try to run this simple application:
Dim Mymap as WebView
Dim HC as string
Dim List1 as List
Dim s as string
Dim hc as string
hc=""
List1 = File.ReadList(File.DirRootExternal, "gmapsample.txt")
For i = 0 To List1.Size - 1
s= List1.Get(i)
hc=hc & s
Next
mymap.LoadHtml(Hc)
I see a blank webpage, not the map as I see it on the PC.
This method work with simpler files, like this "hello world tutorial" :
Google Maps Javascript API V3 Tutorial - Google Maps JavaScript API V3 - Google Code
bou doesn't work with more complicated files.
Are there some mistakes ? Or are there some limitations in googlemap integration with b4a ?
Thanks
Marco
I load an example in a browser on the pc, for example this one:
Google Maps JavaScript API v3 Example: Complex Icons
I caputure the source code and put it in a text file "gmapSample.txt".
I transfer the text files on android device, then I try to run this simple application:
Dim Mymap as WebView
Dim HC as string
Dim List1 as List
Dim s as string
Dim hc as string
hc=""
List1 = File.ReadList(File.DirRootExternal, "gmapsample.txt")
For i = 0 To List1.Size - 1
s= List1.Get(i)
hc=hc & s
Next
mymap.LoadHtml(Hc)
I see a blank webpage, not the map as I see it on the PC.
This method work with simpler files, like this "hello world tutorial" :
Google Maps Javascript API V3 Tutorial - Google Maps JavaScript API V3 - Google Code
bou doesn't work with more complicated files.
Are there some mistakes ? Or are there some limitations in googlemap integration with b4a ?
Thanks
Marco