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.