For some time now there was a bug that the map was not displaying properly on some Windows systems, see
mapjfx problems https://github.com/sothawo/mapjfx/issues/36 https://github.com/sothawo/mapjfx/issues/81 It seems this was because of a bug in the WebView from JavaFX https://bugs.openjdk.java.net/browse/JDK-8234471. Thanks to https://github.com/vewert and https://github.com/Abu-Abdullah investigating into this.
This issue was fixed with JavaFX15, I tried this on a virtual machine with Windows10 and could not reproduce the error anymore.
There is no need to update mapjfx to JavaFX15 (as macOS and *nix are not hit by this bug).
I just released mapjfx versions 1.33.0 and 2.15.0, they will be available in maven central:
<dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>1.33.0</version> </dependency> <dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>2.15.0</version> </dependency> 1.33.0 is built using Java 8 and 2.15.0 uses Java 11.
Circles can now be added to a map, giving the center coordinates and the radius in meters with custom coloring and transparency, thanks to Hanwoo Kim for this contribution!
The OpenLayers version now is 6.
I just released mapjfx versions 1.32.0 and 2.14.0, they will be available in maven central:
<dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>1.32.0</version> </dependency> <dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>2.14.0</version> </dependency> 1.32.0 is built using Java 8 and 2.14.0 uses Java 11.
Markers and Labels on a map now have a rotation property which will rotate the corresponding HTML Element. The values goes from 0 to 360 and defines the rotating angle clockwise.
I just released mapjfx versions 1.31.1 and 2.13.1, they will be available in maven central:
<dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>1.31.1</version> </dependency> <dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>2.13.1</version> </dependency> 1.31.1 is built using Java 8 and 2.13.1 uses Java 11.
These versions fix a regression where events for markers and labels (mouse enter/leave, context click etc) where not created anymore due to enabling scroll/zoom behaviour on markers and labels.
Now all events are dispatched again as they should.
I just released mapjfx versions 1.30.0 and 2.11.0, they will be available in maven central:
<dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>1.30.0</version> </dependency> <dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>2.11.0</version> </dependency> 1.30.0 is built using Java 8 and 2.11.0 uses Java 12.
In these version 4 new variants for the Bing Map mapType are added (thanks to https://github.com/MalteBahr)
I just released mapjfx versions 1.29.0 and 2.10.0, they will be available in maven central:
<dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>1.29.0</version> </dependency> <dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>2.10.0</version> </dependency> 1.29.0 is built using Java 8 and 2.10.0 uses Java 12.
This version updates the OpenLayers library to version 6.0.1 (https://github.com/sothawo/mapjfx/issues/66).
Additionally it is now possible to constrain the panning and zooming of a map to a given extent (https://github.com/sothawo/mapjfx/issues/62).
I just released mapjfx versions 1.28.0 and 2.9.0, they will be available in maven central:
<dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>1.28.0</version> </dependency> <dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>2.9.0</version> </dependency> 1.28.0 is bilt using Java 8 and 2.9.0 uses Java 12.
These releases add the possibility to pass a list of URLs (map tiles) to the OfflineCache to have the cache populated in the background with the data from these URLs (https://github.com/sothawo/mapjfx/issues/64)
Example: private void initOfflineCache() { final OfflineCache offlineCache = OfflineCache.
it is now possible to disable the zoom controls on the Map (Issue #59) using the new introduced configuration object like this:
mapView.initialize(Configuration.builder() .showZoomControls(false) .build()); versions 1.27.0 and 2.8.0 will be available in maven central:
<dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>1.27.0</version> </dependency> <dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>2.8.0</version> </dependency>
I just released mapjfx versions 1.26.3 and 2.7.3, they will be available in maven central:
<dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>1.26.3</version> </dependency> <dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>2.7.3</version> </dependency> These releases contain a fix for the regression that caused context clicks not to be intercepted so that the normal browser context menu was shown (https://github.com/sothawo/mapjfx/issues/52)
I just released mapjfx versions 1.26.1 and 2.7.1, they will be available in maven central:
<dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>1.26.1</version> </dependency> <dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>2.7.1</version> </dependency> These releases contain 2 fixes in handling WMS servers (https://github.com/sothawo/mapjfx/issues/53 and https://github.com/sothawo/mapjfx/issues/54)