Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JavaFX WebView no longer works with Google Maps JS sdk #207

Open
Erel2 opened this issue Jun 3, 2024 · 6 comments
Open

JavaFX WebView no longer works with Google Maps JS sdk #207

Erel2 opened this issue Jun 3, 2024 · 6 comments

Comments

@Erel2
Copy link

Erel2 commented Jun 3, 2024

It looks like something has changed recently with the Maps JS SDK and it doesn't work properly with JavaFX WebView.
The map is empty and every tile shows the message "Sorry, we have no imagery here.". Tested with various versions of JavaFX from v8 to v21.
Tested on Windows.

It happens with this implementation as well as online sites based on the maps sdk.

@Cdavison-development
Copy link

seeing the same, quite unfortunate.

@timoreichen
Copy link

Hi. I have reported the bug, see link. I wrote Kevin Rushford (no answer) but for whatever reason, the door to the internet, the webview is not getting any attention for improvements. Its just not working working correctly for many pages. Maybe one here with more influence can change that somehow. My 50 cents, its cause of interconnection to jxbrowser behind the scenes. Dont see any other explanation that webviev is that bad.

https://bugs.openjdk.org/browse/JDK-8331640?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel

@nehabluedot
Copy link

Map not loading for my project as well, waiting for an update from Java team:
Screenshot 2024-09-09 at 3 36 04 pm

@Landgraf13
Copy link

Landgraf13 commented Sep 27, 2024

I found a solution - source

"My intuition was right, version 3.56 should have been specified and not 3.exp which uses jGoogleMaps"
I corrected the maps.html for myself and it finally worked

@mattiasbe
Copy link

mattiasbe commented Sep 27, 2024

version 3.56 should have been specified

Yes v3.56 works fine for me too as a short term workaround, but will not be available forever .

This picture about version availablity is from https://developers.google.com/maps/documentation/javascript/versions

image

@garten-nack
Copy link

Hello, has anyone found a solution? I have exactly the same issue. When I try to use version 3.57, the map does not load.
My guess is that the new 3.57 version loads WebP tiles, and JavaFX is not able to display them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants