changelog/v3.19.0.md
The v3.19.0 release includes features and fixes from a little more than 120 pull requests with more than 380 commits. Most of the changes are bug fixes, documentation enhancements or target the continuing removal of the dependency on Closure Library. Some notable new or enhanced features are:
CanvasGradient or CanvasPattern now move and rotate with the map which is far more intuitive (#5950)freehand-mode also became more intuitive (#5970, #5973, #5975)Additionally the openlayers.org homepage is now available via the https-protocol.
ol.style.Fill with CanvasGradient or CanvasPatternPreviously, gradients and patterns were aligned with the canvas, so they did not
move and rotate with the map. This was changed to a more expected behavior by anchoring the fill to the map origin (usually at map coordinate [0, 0]).
goog.DEBUG define was renamed to ol.DEBUGAs last step in the removal of the dependency on Google Closure Library, the goog.DEBUG compiler define was renamed to ol.DEBUG. Please change accordingly in your custom build configuration json files.
ol.format.ogc.filter namespace was renamed to ol.format.filterol.format.ogc.filter was simplified to ol.format.filter; to upgrade your code, simply remove the ogc string from the name.
For example: ol.format.ogc.filter.and to ol.format.filter.and.
A number of internal types have been renamed. This will not affect those who use the API provided by the library, but if you are compiling your application together with OpenLayers and using type names, you'll need to do the following:
ol.CollectionProperty to ol.Collection.Propertyol.DeviceOrientationProperty to ol.DeviceOrientation.Propertyol.DragBoxEvent to ol.interaction.DragBox.Eventol.DragBoxEventType to ol.interaction.DragBox.EventTypeol.GeolocationProperty to ol.Geolocation.Propertyol.OverlayPositioning to ol.Overlay.Positioningol.OverlayProperty to ol.Overlay.Propertyol.control.MousePositionProperty to ol.control.MousePosition.Propertyol.format.IGCZ to ol.format.IGC.Zol.interaction.InteractionProperty to ol.interaction.Interaction.Propertyol.interaction.DrawMode to ol.interaction.Draw.Modeol.interaction.DrawEvent to ol.interaction.Draw.Eventol.interaction.DrawEventType to ol.interaction.Draw.EventTypeol.interaction.ExtentEvent to ol.interaction.Extent.Eventol.interaction.ExtentEventType to ol.interaction.Extent.EventTypeol.interaction.DragAndDropEvent to ol.interaction.DragAndDrop.Eventol.interaction.DragAndDropEventType to ol.interaction.DragAndDrop.EventTypeol.interaction.ModifyEvent to ol.interaction.Modify.Eventol.interaction.SelectEvent to ol.interaction.Select.Eventol.interaction.SelectEventType to ol.interaction.Select.EventTypeol.interaction.TranslateEvent to ol.interaction.Translate.Eventol.interaction.TranslateEventType to ol.interaction.Translate.EventTypeol.layer.GroupProperty to ol.layer.Group.Propertyol.layer.HeatmapLayerProperty to ol.layer.Heatmap.Propertyol.layer.TileProperty to ol.layer.Tile.Propertyol.layer.VectorTileRenderType to ol.layer.VectorTile.RenderTypeol.MapEventType to ol.MapEvent.Typeol.MapProperty to ol.Map.Propertyol.ModifyEventType to ol.interaction.Modify.EventTypeol.RendererType to ol.renderer.Typeol.render.EventType to ol.render.Event.Typeol.source.ImageEvent to ol.source.Image.Eventol.source.ImageEventType to ol.source.Image.EventTypeol.source.RasterEvent to ol.source.Raster.Eventol.source.RasterEventType to ol.source.Raster.EventTypeol.source.TileEvent to ol.source.Tile.Eventol.source.TileEventType to ol.source.Tile.EventTypeol.source.VectorEvent to ol.source.Vector.Eventol.source.VectorEventType to ol.source.Vector.EventTypeol.source.wms.ServerType to ol.source.WMSServerTypeol.source.WMTSRequestEncoding to ol.source.WMTS.RequestEncodingol.style.IconAnchorUnits to ol.style.Icon.AnchorUnitsol.style.IconOrigin to ol.style.Icon.Origin