B4J Question jGoogle Map

RUNO

Active Member
Licensed User
I used example of Erel
I have api key,I put it
Why this error ?

Waiting for debugger to connect...
Program started.
Alert: loadMapLibrary
mapLibraryLoaded!
Alert: !!!mapLibraryLoaded!!!
Error occurred on line: 64 (Main)
java.lang.NullPointerException
at com.lynden.gmapsfx.javascript.object.GoogleMap.internalGetZoom(GoogleMap.java:76)
at com.lynden.gmapsfx.javascript.object.GoogleMap.zoomProperty(GoogleMap.java:93)
at com.lynden.gmapsfx.javascript.object.GoogleMap.setZoom(GoogleMap.java:68)
at anywheresoftware.b4j.googlemaps.GoogleMapWrapper.MoveCamera(GoogleMapWrapper.java:239)
at b4j.google.map.main._btnresetmap_action(main.java:161)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:632)
 
Top