J jamesnz Active Member Licensed User Longtime User Jan 29, 2019 #1 Hi, Im running the latest library and latest code example from https://www.b4x.com/android/forum/threads/jgooglemaps-library.56744/#content Running a pc with Java 8 The only lines I have changed are the map Initialisation Dim Apikey As String = "AIza.................." gmap.Initialize2("gmap", options ,Apikey) All I get is a blank white screen
Hi, Im running the latest library and latest code example from https://www.b4x.com/android/forum/threads/jgooglemaps-library.56744/#content Running a pc with Java 8 The only lines I have changed are the map Initialisation Dim Apikey As String = "AIza.................." gmap.Initialize2("gmap", options ,Apikey) All I get is a blank white screen
Erel B4X founder Staff member Licensed User Longtime User Jan 29, 2019 #2 Please use [code]code here...[/code] tags when posting code. What happens when you call gmap.Initialize instead of Initialize2 ? Upvote 0
Please use [code]code here...[/code] tags when posting code. What happens when you call gmap.Initialize instead of Initialize2 ?
J jamesnz Active Member Licensed User Longtime User Jan 29, 2019 #3 Erel said: Please use [code]code here...[/code] tags when posting code. What happens when you call gmap.Initialize instead of Initialize2 ? Click to expand... Same thing, Nothing, it runs app_start and panel_resize. Upvote 0
Erel said: Please use [code]code here...[/code] tags when posting code. What happens when you call gmap.Initialize instead of Initialize2 ? Click to expand... Same thing, Nothing, it runs app_start and panel_resize.
Erel B4X founder Staff member Licensed User Longtime User Jan 29, 2019 #4 Do you see anything in the logs? Download this executable jar: www.b4x.com/b4j/files/GoogleMap.jar Double click to run it. What do you see? Upvote 0
Do you see anything in the logs? Download this executable jar: www.b4x.com/b4j/files/GoogleMap.jar Double click to run it. What do you see?
J jamesnz Active Member Licensed User Longtime User Jan 29, 2019 #5 Works perfectly , I see a fully functional map, markers and a polyline ( in the logs for my version I just get 2 alerts Alert: Hide directions called Alert: loadMapLibrary done Edit : I have regenerated API Key and entered this as a string, It still makes no difference Last edited: Jan 29, 2019 Upvote 0
Works perfectly , I see a fully functional map, markers and a polyline ( in the logs for my version I just get 2 alerts Alert: Hide directions called Alert: loadMapLibrary done Edit : I have regenerated API Key and entered this as a string, It still makes no difference
Erel B4X founder Staff member Licensed User Longtime User Jan 30, 2019 #6 This means that you made a mistake somewhere. If you download the Google maps example it should run as-is (and show a "development mode" watermark). Upvote 0
This means that you made a mistake somewhere. If you download the Google maps example it should run as-is (and show a "development mode" watermark).
J jamesnz Active Member Licensed User Longtime User Jan 30, 2019 #7 Still not exactly sure what the problem was, but I solved it by Updating Java SE 64 bit JDK version so that it matched the JRE version and updated the javac.exe path in Tools|Configure Paths Upvote 0
Still not exactly sure what the problem was, but I solved it by Updating Java SE 64 bit JDK version so that it matched the JRE version and updated the javac.exe path in Tools|Configure Paths