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.
For the last two years a problem was coming up occasionally with some users, that only the top left area of the map is displayed, and the rest is not loading:
https://github.com/sothawo/mapjfx/issues/36 https://github.com/sothawo/mapjfx/issues/81 Thanks to the analysis of Martin Stiel in a comment and Victor Ewert in issue 81 it seems that this can be traced to a problem when running the application on a high resolution display.
Alas I cannot reproduce this as I have no hardware with a resolution that might be high enough.
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 version 2.13.0, it will be available in maven central:
<dependency> <groupId>com.sothawo</groupId> <artifactId>mapjfx</artifactId> <version>2.13.0</version> </dependency> I switched back to use Java 11 (LTS) as SceneBuilder is only available for Java 11 (https://gluonhq.com/products/scene-builder/) and libraries built with version 12 or 13 cannot be used in SceneBuilder 11.
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.
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)