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.

mapjfx 1.12.1 with fixes to the code for caching data

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

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

The source is available at GitHub.

I implemented some improvemtnes to the code that does the caching of map images.

 

Comments and contributions welcome.

mapjfx 1.12.0 has a custom event for selecting a map area

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

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

The source is available at GitHub.

The MapView now triggers a custom event when the user drags a rectangle while holding the cmd key (on Mac OSX) or the ctrl key (on Windows). This can be used to set the extent of the map to the selected extent, sample code from the mapjfx-demo app:

mapView.addEventHandler(MapViewEvent.MAP_EXTENT, event -> {
            event.consume();
            mapView.setExtent(event.getExtent());
});

 

Comments and contributions welcome.

mapjfx 1.11.0 using OpenLayers 4.0.1

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

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

The source is available at GitHub.

Now uses OpenLayers 4.0.1.

Comments and contributions welcome.

mapjfx 1.10.1 has right clicked event for the map

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

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

The source is available at GitHub.

Now there is a custom event for context (right) clicks in the map., not only for the markers and labels.

Comments and contributions welcome.

mapjfx 1.10.0 now supports custom WMS servers

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

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

The source is available at GitHub.

As additional map type, WMS server support was added. The WMS server i s configured programmatically with a special parameter object. The demo contains two WMS servers.

Comments and contributions welcome.

mapjfx 1.9.0 using OpenLayers 3.20.1 with additional events for marker and label mouse events

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

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

The source is available at GitHub.

Now uses OpenLayers 3.20.1. New events were added for rightclick, doubleclick, mousedown and mouseup events on markers and labels.

Comments and contributions welcome.