B4J Question Given up --- Google Maps failed to load

Roger Daley

Well-Known Member
Licensed User
Longtime User
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.

The Logs is simply:
Alert: loadMapLibrary
mapLibraryLoaded!
Alert: !!!mapLibraryLoaded!!!

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
    151.4 KB · Views: 134

DonManfred

Expert
Licensed User
Longtime User
The map will not work properly without an API key.
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:
Upvote 0

Roger Daley

Well-Known Member
Licensed User
Longtime User
as per: https://www.b4x.com/android/forum/threads/jgooglemaps-library.56744/
The map will not work properly without an API key.
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:
Upvote 0
Top