'After Java update to the version 1.8.0_301 JavaFX WebView with Leaflet.Draw.Circle, Leaflet.Edit.Circle does not work as well as OSM is not draggable
I am using JavaFX Webview with Leaflet library to render OSM tiles. I am running into issues with Circles and Polygons, Marker and with some functions as Editting, Removing, Zoom. All these Leaflet-functions are working fine under the old java versions as jdk1.8.0_191, jdk1.8.0_241. But after the update java to the version jdk1.8.0_311 it is not possible to draw Circle around a Marker as well as editting a Circle and a Polygon. Furthemore the osm-map is not draggable on a JXPanel, it looks like the map is fixed to panel. I am running Windows 10.
Any help would be greatly appreciated.
Thanks&Regards
Solution 1:[1]
I have entered this into the JDK bug database because there seems to be a more general issue here. See: https://bugs.openjdk.java.net/browse/JDK-8276859 This is also not the only report about such an issue. See also: Leaflet does not work in WebEngine after JavaFX 17
Edit: The underlying issue has been fixed as of March 1, 2022. See https://bugs.openjdk.java.net/browse/JDK-8278759
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | richardec |