Nizze Active Member Licensed User Longtime User Oct 28, 2014 #1 Hi I have an app (B4a) that simply shows a position on the map . I get the pos from the server and it sends out lon and lat. How can i use Googlemap in IOS ? Or should i use Webview On B4a i use this code WebView1.loadUrl ("http://maps.google.com/maps?q="& Lat & "," & .Lon ) Br Nizze Last edited: Oct 29, 2014
Hi I have an app (B4a) that simply shows a position on the map . I get the pos from the server and it sends out lon and lat. How can i use Googlemap in IOS ? Or should i use Webview On B4a i use this code WebView1.loadUrl ("http://maps.google.com/maps?q="& Lat & "," & .Lon ) Br Nizze
Erel B4X founder Staff member Licensed User Longtime User Oct 29, 2014 #2 Both options should work. You can use WebView or GoogleMaps library. There is an example of GoogleMaps library here: http://www.b4x.com/android/forum/threads/examples.45922/ Upvote 0
Both options should work. You can use WebView or GoogleMaps library. There is an example of GoogleMaps library here: http://www.b4x.com/android/forum/threads/examples.45922/
Nizze Active Member Licensed User Longtime User Oct 29, 2014 #3 Hi I have tryed the same code , but nothing happends So thats why asked ., WebView1.loadUrl ("http://maps.google.com/maps?q=" & Lat & "," & Lon ) But when i try to load that line in B4i nothing happands . But i will do some more test later on Best Regards Nizze Last edited: Oct 29, 2014 Upvote 0
Hi I have tryed the same code , but nothing happends So thats why asked ., WebView1.loadUrl ("http://maps.google.com/maps?q=" & Lat & "," & Lon ) But when i try to load that line in B4i nothing happands . But i will do some more test later on Best Regards Nizze
Nizze Active Member Licensed User Longtime User Oct 29, 2014 #4 Hi Now i have tryed without any luck . I can see page2 opens and webview1 is visible but without any map .. and if i try to put in an url direct i does not work either ( Link = "www.google.se" ) So if anyone can se whats wrong i will be glad link = "http://maps.google.com/maps?q=" & Lat & "," & Lon WebView1.loadUrl( Link ) Page3.RootPanel.LoadLayout("page2") NavControl.ShowPage(Page3) Best Regards Nizze Upvote 0
Hi Now i have tryed without any luck . I can see page2 opens and webview1 is visible but without any map .. and if i try to put in an url direct i does not work either ( Link = "www.google.se" ) So if anyone can se whats wrong i will be glad link = "http://maps.google.com/maps?q=" & Lat & "," & Lon WebView1.loadUrl( Link ) Page3.RootPanel.LoadLayout("page2") NavControl.ShowPage(Page3) Best Regards Nizze
Erel B4X founder Staff member Licensed User Longtime User Oct 30, 2014 #5 Try to use GoogleMaps library instead of showing it in WebView. Upvote 0