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:
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" :
Yes Erel, I saw those examples and they works.
But if I try a complex example captured from googlemap, with more interesting functiions (multiple markers, automatic zoom to fit bounds and other stuff), I can't see it working.
There are many interesting examples in googlemap at that link. You choose a layout that fit your needings, capture the source code and execute in a webView. In theory ...