B4J Question jGoogleMaps library

mvera

Active Member
Licensed User
Longtime User
Hello I implemented the example GoogleMapsExample, but I have the following problem when I run the application, it gives me the following error.

There was an error.

This page did not load Google Maps well. Check the JavaScript console for technical details.

it has a solution?
 

bvonlaar

Member
Licensed User
Longtime User


We got the same error on different computers. First it run well and since today I have the same message.

I hope someone can help.

Benedikt
 
Upvote 0

Harris

Expert
Licensed User
Longtime User
In the Initialize of your page (ABMaterial),

page.GoogleMapsAPIExtras="key=your_key&libraries=geometry,places"
 
Upvote 0

bvonlaar

Member
Licensed User
Longtime User
In the Initialize of your page (ABMaterial),

page.GoogleMapsAPIExtras="key=your_key&libraries=geometry,places"

O.K. this focus to ABMaterial and where to place in a standalone ui App? The only connectivity to the web is
the access to GoogleMaps.
Do you have an idea?

Benedikt
 
Upvote 0

mvera

Active Member
Licensed User
Longtime User
Something strange happens, when I work on my home network, I do not have the problem, but when I work on my work network, it starts with problems.

What could be the problem?
 
Upvote 0

bvonlaar

Member
Licensed User
Longtime User
The google maps example works fine here. Might be related to the JRE / JDK version. Try it with the latest Java 8.

well the first times it worked also fine here and also on the computer of my son. Then he reported that the program hang up with an error. This happened also by me a
little bit delayed. In my case I need absolutely a solution of this problem, because I have written an app for rapid field data collection with B4A and the collected data
should be displayed on a local computer with B4J as UI App. It make also sense of what Harris and CGP have written before regarding api key. Do you have an idea how to implement an api key in this google maps example?

Benedikt
 
Upvote 0

rboeck

Well-Known Member
Licensed User
Longtime User
Yesterday i had the same error like mvera, but today it seems that it works like before... I have no javascript key.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…