Skip to content

Release v7.1.0

Compare
Choose a tag to compare
@TDesjardins TDesjardins released this 19 Jan 07:00

New Features

  • TileArcGISRest support
  • WmsGetFeatureInfo support
  • write support for XML formats
  • KML format support

Changes

  • fix for measuring on mobile devices @sebasbaumh
  • support writing array of features for GeoJSON
  • support for WebGL check
  • added Extent interaction options and events @gkresic
  • refactored Measure to type Interaction

Upgrade Notes

Measure

Before:

final Measure measure = new Measure(map);
final Measure measure = new Measure(MeasureType.DISTANCE, (MeasureEvent evt) -> {
        // start measuring immediately	
        measure.startMeasureLength(new MeasureListener() {	

             @Override
            public void onMeasure(MeasureEvent evt) {
	
            }	

}, true, true);

After:

final Measure measure = new Measure(MeasureType.DISTANCE, (MeasureEvent evt) -> {
        // start measuring immediately	
        measure.startMeasureLength(new MeasureListener() {	

             @Override
            public void onMeasure(MeasureEvent evt) {

            }	

         }, true, true);	        });

map.addInteraction(measure);

Compatibility

Last tested OpenLayers version: v5.3.0