使用 Leaflet.Draw.Circle 将 Java 更新到 1.8.0_301 JavaFX WebView 版

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(使用 Leaflet.Draw.Circle 将 Java 更新到 1.8.0_301 JavaFX WebView 版本后,Leaflet.Edit.Circ
本文介绍了使用 Leaflet.Draw.Circle 将 Java 更新到 1.8.0_301 JavaFX WebView 版本后,Leaflet.Edit.Circle 无法正常工作,因为 OSM 不可拖动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我正在使用带有 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 不可拖动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)