我正在使用带有 Leaflet 库的 JavaFX Webview 来呈现 OSM 磁贴.我遇到了圆圈和多边形、标记以及编辑、删除、缩放等一些功能的问题.所有这些 Leaflet 功能在 jdk1.8.0_191、jdk1.8.0_241 等旧 Java 版本下都可以正常工作.但是在将 java 更新到版本 jdk1.8.0_311 之后,无法在标记周围绘制圆形以及编辑圆形和多边形.此外,osm-map 在 JXPanel 上不可拖动,看起来地图固定在面板上.我正在运行 Windows 10.
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.
任何帮助将不胜感激.
感谢和问候
我已将此输入到 JDK 错误数据库中,因为这里似乎存在更普遍的问题.参见:https://bugs.openjdk.java.net/browse/JDK-8276859 这也不是关于此类问题的唯一报告.另请参阅:Leaflet 在 WebEngine 之后不起作用JavaFX 17
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
这篇关于使用 Leaflet.Draw.Circle 将 Java 更新到 1.8.0_301 JavaFX WebView 版本后,Leaflet.Edit.Circle 无法正常工作,因为 OSM 不可拖动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!