Skip to content

Release v7.0.0

Compare
Choose a tag to compare
@TDesjardins TDesjardins released this 14 Sep 06:48

New Features

  • OpenLayers 5 support
  • Geolocation support

Changes

  • removed unsupported logo options
  • added WebGLMap and PluggableMap
  • added methods on ol.View
  • introduce ol.style.StyleFunction
  • added new initalization for Proj4 integration
  • added no arg constructor to ol.style.Fill
  • added setFeatureProjection method (@Fractaliste )
  • added setGeometryFunction method (@Fractaliste )
  • added extend method to Extent (@Fractaliste )
  • added feature loader callback support (@Fractaliste )
  • removed useless AttributionOptions
  • added method getProperties() and setProperties() to ol.Object

Upgrade Notes

Common

  • use static methods of ol.sphere.Sphere with ol.sphere.SphereMetricOptions
  • remove parameter sphere from ol.geom.Polygon.circular()

Proj4js (optional)

  • use ol.proj.Proj4.register(Proj4.get()); to register Proj4js

Compatibility

Last tested OpenLayers version: v5.2.0