mapjfx now supports filled polygons

I just released mapjfx versions 1.21.0 and 2.2.0, they will be available in maven central:

  <dependency>
    <groupId>com.sothawo</groupId>
    <artifactId>mapjfx</artifactId>
    <version>1.21.0</version>
  </dependency>
  <dependency>
    <groupId>com.sothawo</groupId>
    <artifactId>mapjfx</artifactId>
    <version>2.2.0</version>
  </dependency>

Now it is possible to close CoordinateLines to polygons with a fill color:


Comments and contributions welcome.

mapjfx 2.1.1 and 1.20.1 using OpenLayers 5.3.0

I just released mapjfx versions 1.20.1 and 2.1.1, they will be available in maven central:

  <dependency>
    <groupId>com.sothawo</groupId>
    <artifactId>mapjfx</artifactId>
    <version>1.20.1</version>
  </dependency>
  <dependency>
    <groupId>com.sothawo</groupId>
    <artifactId>mapjfx</artifactId>
    <version>2.1.1</version>
  </dependency>

mapjfx now uses OpenLayers version 5.3.0.

Version 1.20.1 is built using OracleJDK8, whereas version 2.1.1 is built with OpenJDK11.

mapjfx 2.1.0 and 1.20.0 released, now built with JDK8 and JDK11

The new versions are 1.20.0 and 2.1.o, available in maven central:

  <dependency>
    <groupId>com.sothawo</groupId>
    <artifactId>mapjfx</artifactId>
    <version>1.20.0</version>
  </dependency>
  <dependency>
    <groupId>com.sothawo</groupId>
    <artifactId>mapjfx</artifactId>
    <version>2.1.0</version>
  </dependency>

Version 1.20.0 is built using OracleJDK8, whereas version 2.1.0 is built with OpenJDK11.

mapjfx version 1.17.0 reporting the map’s extent and using OpenLayers 4.6.5

I just released mapjfx version 1.17.0 it should be found shortly at maven central, the artifact coordinates are:

  <dependency>
    <groupId>com.sothawo</groupId>
    <artifactId>mapjfx</artifactId>
    <version>1.17.0</version>
  </dependency>

The source is available at GitHub.

mapjfx now ow uses OpenLayers 4.6.5.

As a new feature, the MapView object now emits events whenever the extent of the map changes. This happens when the center of the map is changed, the zoom value is changed or when the map’s window size is changed. The event can be processed like this:

// add an event handler for extent changes and display them in the status label
mapView.addEventHandler(MapViewEvent.MAP_BOUNDING_EXTENT, event -> {
  event.consume();
  labelExtent.setText(event.getExtent().toString());
});

mapjfx 1.15.0 using OpenLayers 4.6.4

I just released mapjfx version 1.15.0 it should be found shortly at maven central, the artifact coordinates are:

  <dependency>
    <groupId>com.sothawo</groupId>
    <artifactId>mapjfx</artifactId>
    <version>1.15.0</version>
  </dependency>

The source is available at GitHub.

Now uses OpenLayers 4.6.4.

Comments and contributions welcome.

mapjfx 1.14.0 released

I just released mapjfx version 1.14.0 it should be found shortly at maven central, the artifact coordinates are:

  <dependency>
    <groupId>com.sothawo</groupId>
    <artifactId>mapjfx</artifactId>
    <version>1.14.0</version>
  </dependency>

The source is available at GitHub.

  • There are new events that are triggered on mouse entry and exit on markers and labels. Thanks to skinkie for that.
  • The CSS style property of a Label is now an observed property and changes will be reflected on the map immediately.
  • Now uses OpenLayers 4.4.0

Comments and contributions welcome.

mapjfx 1.13.2 using OpenLayers 4.3.2

I just released mapjfx version 1.13.2 it should be found shortly at maven central, the artifact coordinates are:

  <dependency>
    <groupId>com.sothawo</groupId>
    <artifactId>mapjfx</artifactId>
    <version>1.13.2</version>
  </dependency>

The source is available at GitHub.

Now uses OpenLayers 4.3.2.

Comments and contributions welcome.

mapjfx 1.13.1 using OpenLayers 4.2.0

I just released mapjfx version 1.13.1 it should be found shortly at maven central, the artifact coordinates are:

  <dependency>
    <groupId>com.sothawo</groupId>
    <artifactId>mapjfx</artifactId>
    <version>1.13.1</version>
  </dependency>

The source is available at GitHub.

Now uses OpenLayers 4.2.0.

Comments and contributions welcome.

mapjfx 1.13.0 adds the possibility to exclude URLs from being cached

I just released mapjfx version 1.13.0 it should be found shortly at maven central, the artifact coordinates are:

  <dependency>
    <groupId>com.sothawo</groupId>
    <artifactId>mapjfx</artifactId>
    <version>1.13.0</version>
  </dependency>

The source is available at GitHub.

The offline cache now can be configured with a collection of Strings (Java RegExp patterns) so that URLs matching any of these will not be cached.

 

Comments and contributions welcome.

mapjfx 1.12.2 – no default caching

I just released mapjfx version 1.12.2 it should be found shortly at maven central, the artifact coordinates are:

  <dependency>
    <groupId>com.sothawo</groupId>
    <artifactId>mapjfx</artifactId>
    <version>1.12.2</version>
  </dependency>

The source is available at GitHub.

The test program in the library and the mapjfx-demo now do not use the offline cache by default.

The caching seems to get problems the more the backing servers are using https. And Bing for example uses https calls to validate the token, which should not be cached.

Alas it is not possible only to cache the map image data, because only from the url being retrieved, there is no possibility to decide wether it’s image data or something other.

So the best seems to be not use the cache by default.

Comments and contributions welcome.