Skip to main content

All Questions

Tagged with
2 votes
1 answer
169 views

JavaFX 21.0.6 WebView problem loading Google Maps v3.58+ on Windows 11

Included below is a minimal application that attempts to load Google Maps using a JavaFX 21.0.6 application (compiled using the 21.0.5 JDK). On a Windows 10 machine the code works as expected, but it ...
Max van Daalen's user avatar
2 votes
2 answers
295 views

Issue with displaying a location on Google maps using Java+JavaScript+JavaFX

I've been trying to create a Java desktop app using Java, JavaScript and JavaFX and one part of the app should be able to display a location on the map using the location of the venue taken from the ...
Mia's user avatar
  • 21
0 votes
0 answers
70 views

How can I add a map to an image view in javafx using GMapsfx and also get the location of a place without getting a null pointer exception

How can I add a map to an image view in javafx using GMapsfx 2.12.0 and also get the location of a place in longitude and latitude and in name of location without getting a null pointer exception in ...
Chib's user avatar
  • 1
4 votes
2 answers
894 views

JavaFX not embedding google maps html

I'm trying to embed an HTML file with google maps in a JavaFX application using WebView. I tested my code with simpler HTML files (just paragraph text and divs) and it embedded correctly but for some ...
Kaiser's user avatar
  • 43
0 votes
0 answers
49 views

The route between two points is not displayed GmapsFX

I tried to implement routing between two markers in GMapsFX in my student application writed in Java/JavaFX. I don't get any error, I just get the message on the map: This page can't load Google Maps ...
Kacper Bielak's user avatar
0 votes
0 answers
48 views

How to route between several markers in gmapsfx / JavaFX?

how to plot a route between several markers on a map in GMapsFX? I have an application written in Java using JavaFX. There is already implemented map with marked markers. During operation, more ...
Kacper Bielak's user avatar
0 votes
1 answer
1k views

How do I initialize Google Maps API key when using GMapsFX and FXML?

Im trying to set up a JavaFX project where I use GMapsFX. I have already gotten it to work without using FXML where I just initialized the GoogleMapView variable in the start() method. Therefore I ...
Magnus2142's user avatar
0 votes
1 answer
377 views

Using Google Map & Street View in JavaFX

I've tried to use WebView and JxBrowser, and they both work absolutely fine for google maps but street view doesn't support it anymore. IIRC it's because WebView doesn't support it's new JS code. (...
Alex Hammond's user avatar
0 votes
1 answer
812 views

Javafx Gmapsfx problems with map not loading correctly

I am new here so I have one question. For a little project I have to make a javafx application where I can show the user the route from one location to another one. Like in Gmaps. I searched a bit and ...
SEp pes's user avatar
  • 11
6 votes
2 answers
1k views

Does new versions of google map's javascript versions work on JavaFx-WebView

I am trying to load google map on JavaFx-WebView, and it doesn't show anything except background color of html body that i have coded on html file. Also i tried some examples on Google search, all the ...
Shanaka Madusanka's user avatar
1 vote
0 answers
192 views

How do I plot markers, with the data held in a Java class, on Google Maps which uses JavaScript?

I want to plot multiple markers on my Google Map. I am creating a JavaFX desktop app which includes having a map with multiple markers plotted on it. The problem I'm getting is how do I send Strings ...
Daniel's user avatar
  • 29
0 votes
1 answer
378 views

Convert WGS84 lat/long to GGRS87

Hello I am using GMapsFX for my JavaFX application. I am getting longtitude and latitute from Google Maps with the API but I would like to get GGRS87 also. In Greek it is called EGSA87. Ι have ...
Panagiotis Athinakis's user avatar
1 vote
0 answers
1k views

Exception in thread "JavaFX Application Thread" netscape.javascript.JSException: ReferenceError: Can't find variable: google

I am try to view google map on the desktop application but the map is not visible on the screen. GMapsFX-2.12.0 protected DirectionsService directionsService; protected DirectionsPane directionsPane;...
Arpit Mittal's user avatar
0 votes
2 answers
2k views

GMapsFX not displaying

the GMapsFX integration with JavFXML is a very obscure area and I am struggling to find information on the internet. I find a tutorial here but it still obscure So basically, Everything seems to be ...
Franklin Memet's user avatar
-1 votes
1 answer
385 views

Have an error with my GMapsFX library files

I'm trying to link a GMapsFX library to an FXML file but this error keeps appearing when trying to open the actual map page. FXML FILE: <?xml version="1.0" encoding="UTF-8"?> ...
Franklin Memet's user avatar

15 30 50 per page