Roger Daley Well-Known Member Licensed User Longtime User Mar 19, 2021 #1 Hi All, My only venture into B4J has been to port a B4A App over 5yrs ago. All went well at the time and not revisited till recently. Dug out old laptop updated B4J, libraries etc. Commented out things like "Line.Remove" because MapPolyLine [replaced PolyLine] does not have Remove as a member. When I try to compile/Run, the App launches but the map is replaced by a text warning: Sorry! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details. Click to expand... The Logs is simply: Alert: loadMapLibrary mapLibraryLoaded! Alert: !!!mapLibraryLoaded!!! Click to expand... At this point I am at a loss as to even what to search for. If anyone can point me in a search direct it would be most appreciated. Regards Roger P.S. I have attached the code, please no laughing. Attachments ABT.zip ABT.zip 151.4 KB · Views: 309
Hi All, My only venture into B4J has been to port a B4A App over 5yrs ago. All went well at the time and not revisited till recently. Dug out old laptop updated B4J, libraries etc. Commented out things like "Line.Remove" because MapPolyLine [replaced PolyLine] does not have Remove as a member. When I try to compile/Run, the App launches but the map is replaced by a text warning: Sorry! Something went wrong. This page didn't load Google Maps correctly. See the JavaScript console for technical details. Click to expand... The Logs is simply: Alert: loadMapLibrary mapLibraryLoaded! Alert: !!!mapLibraryLoaded!!! Click to expand... At this point I am at a loss as to even what to search for. If anyone can point me in a search direct it would be most appreciated. Regards Roger P.S. I have attached the code, please no laughing.
Harris Expert Licensed User Longtime User Mar 19, 2021 #2 as per: https://www.b4x.com/android/forum/threads/jgooglemaps-library.56744/ The map will not work properly without an API key. Upvote 0
as per: https://www.b4x.com/android/forum/threads/jgooglemaps-library.56744/ The map will not work properly without an API key.
DonManfred Expert Licensed User Longtime User Mar 19, 2021 #3 Harris said: The map will not work properly without an API key. Click to expand... This is known. See the comment in the Thread: The map will not work properly without an API key. so what is the question? Last edited: Mar 19, 2021 Upvote 0
Harris said: The map will not work properly without an API key. Click to expand... This is known. See the comment in the Thread: The map will not work properly without an API key. so what is the question?
Roger Daley Well-Known Member Licensed User Longtime User Mar 19, 2021 #4 Harris said: as per: https://www.b4x.com/android/forum/threads/jgooglemaps-library.56744/ The map will not work properly without an API key. Click to expand... Thanks, The API key, I presume is the "JGoogleMaps-Licence" which was updated when I updated when I updated the library. EDIT: Went back to Erels post on the API key for JGogglemaps. Followed the links that went to other links. The pages there did not display what they said I should see, other links to me to pages asking for credit card details. I give up, it is not that important. Last edited: Mar 20, 2021 Upvote 0
Harris said: as per: https://www.b4x.com/android/forum/threads/jgooglemaps-library.56744/ The map will not work properly without an API key. Click to expand... Thanks, The API key, I presume is the "JGoogleMaps-Licence" which was updated when I updated when I updated the library. EDIT: Went back to Erels post on the API key for JGogglemaps. Followed the links that went to other links. The pages there did not display what they said I should see, other links to me to pages asking for credit card details. I give up, it is not that important.