dlsc-software-consulting-gmbh / GMapsFX

Java API for using Google Maps within a JavaFX application.
http://rterp.github.io/GMapsFX/
Apache License 2.0
319 stars 119 forks source link

Polygons appearing "patchy" when added to map on Windows #179

Closed jonesru closed 5 years ago

jonesru commented 5 years ago

Hello, We are college students working on a project involving several sets of specific locations. When our algorithm is run on MacOS machines, the shapes appear entirely correct on the Google Map. However, when run on a Windows machine, the pushed polygons appear patchy. When the map is zoomed in and out, the shapes seem to be redrawn so the gaps in the lines are shifting in location. As we zoom out farther, the entire data set of shapes changes locations entirely. We have attached images below. Any help would be much appreciated.

WindowsBug1 WindowsBugBeforeMove WindowsBugAfterMove WindowsBug2
GeoffCapper commented 5 years ago

Hi,

I suspect this will be a problem with JavaFX webview on Windows. All this library does is make use of the standard Google javascript calls, everything else is left to the GoogleMaps javascript API.

ppengvan commented 5 years ago

I encounter similar problem after upgrading from Java 8 to 11, and I'm still looking for a solution.

jonesru commented 5 years ago

Hi, I suspect this will be a problem with JavaFX webview on Windows. All this library does is make use of the standard Google javascript calls, everything else is left to the GoogleMaps javascript API.

Okay. We will be looking into JavaFX bugs on Windows. Thanks for the response!

jonesru commented 5 years ago

Hi,

I suspect this will be a problem with JavaFX webview on Windows. All this library does is make use of the standard Google javascript calls, everything else is left to the GoogleMaps javascript API.

We switched from Java 9 down to Java 8, and the polygons are all appearing on the map now! Thanks again!