- Jun 6, 2020
- 11,517
- 4,383
I have used jGoogleMaps Version 1.25 with B4J Version 6.51 successfully for a long time. Now I want to move to the actual B4J Version 8.50 and the actual jGoogleMaps Version 1.82 and get an error. To analyse the problem I have startet the actual GoogleMapsExample and get the same error. After starting the map shows up, but within a second it disappears. After using the "Reset Map"-Button the program terminates.
In the java console I can read:
---
Alert: loadMapLibrary
mapLibraryLoaded!
Alert: !!!mapLibraryLoaded!!!
main._btnresetmap_action (java line: 109)
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...
In the java console I can read:
---
Alert: loadMapLibrary
mapLibraryLoaded!
Alert: !!!mapLibraryLoaded!!!
main._btnresetmap_action (java line: 109)
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...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید