Releases: openlayers/openlayers
v6.4.3
This is a bugfix release which fixes a performance regression, a rendering issue, and adds improvements to a few examples.
See the v6.4.0 release notes for a complete list of changes and upgrade notes when upgrading from v6.3.x.
List of all changes
- #11379 - tooltip bs on fullscreen (@jipexu)
- #11378 - Fix imageSmoothing: false when ImageStatic is stretched to fit extent (@mike-000)
- #11367 - Use https for mapbox tiles (@MoonE)
- #11377 - Only include renderBuffer when decluttering (@ahocevar)
- #11376 - Overlay Eample - Show the popup in front of the other overlays (@MoonE)
Dependency Updates
- #11381 - Bump karma from 5.1.0 to 5.1.1 (@openlayers)
- #11383 - Bump worker-loader from 2.0.0 to 3.0.0 (@openlayers)
- #11386 - Bump webpack from 4.44.0 to 4.44.1 (@openlayers)
- #11384 - Bump @babel/core from 7.10.5 to 7.11.0 (@openlayers)
- #11382 - Bump mocha from 8.0.1 to 8.1.0 (@openlayers)
- #11385 - Bump @babel/preset-env from 7.10.4 to 7.11.0 (@openlayers)
- #11387 - Bump eslint from 7.5.0 to 7.6.0 (@openlayers)
- #11388 - Bump terser-webpack-plugin from 3.0.7 to 3.0.8 (@openlayers)
v6.4.2
This is a bugfix release which removes a few regressions that were introduced by v6.4.0, and fixes a few issues in examples.
See the v6.4.0 release notes for a complete list of changes and upgrade notes when upgrading from v6.3.x.
List of all changes
- #11364 - Load pointer events polyfill - before other polyfills (@ahocevar)
- #11365 - Revert to original method proposed in #11193 (@mike-000)
- #11359 - check projection can wrap before getting width (@mike-000)
- #11355 - Cloak API key with instructions where to get one (@ahocevar)
- #11354 - Fix line breaks in changelog (@ahocevar)
v6.4.1
6.4.1
This is a bugfix release which removes a few regressions that were introduced by v6.4.0, and fixes a few issues in examples caused by the website facelift.
List of all changes
- #11346 - Fix text instruction flat coordinates when stride is not 2 (@ahocevar)
- #11348 - Add all layers to layer export (@M393)
- #11337 - Do not rely on old value for target (@ahocevar)
- #11345 - Fix the popup in the geographic example (@MoonE)
- #11336 - Hit detect with pixelRatio of 1 (@ahocevar)
- #11341 - update link to BS doc (@jipexu)
- #11340 - Examples fix / improvement (@MoonE)
- #11339 - Use bootstrap 4.5.0 in all examples (@MoonE)
- #11327 - Fix Internet Explorer issues (@ahocevar)
- #11315 - Examples fix html (@MoonE)
Dependency Updates
- #11330 - Bump rollup from 2.22.1 to 2.23.0 (@openlayers)
- #11332 - Bump jsdoc from 3.6.4 to 3.6.5 (@openlayers)
- #11329 - Bump puppeteer from 5.2.0 to 5.2.1 (@openlayers)
- #11328 - Bump webpack from 4.43.0 to 4.44.0 (@openlayers)
v6.4.0
With more than 120 pull requests, this release brings a facelift of the website, as well as many bug fixes and several exciting new features.
Upgrade notes
Pointer events polyfill removed
Now that all major browsers support Pointer events natively, we removed the elm-pep dependency. If you are targeting older browsers that do not support Pointer events, you now need to include a pointer events polyfill (elm-pep or pepjs) in your application.
New features and improvements
- Several event handling fixes and improvements for seamless integration into scrollable web pages and improved support for maps in web components.
- Map interactions work again when
ol.css
is not included in the build. - More stable map views with decluttered labels during panning.
- Image smoothing can be disabled, so raster cells can have sharp edges in image layers now.
- Better cache management for tile layers.
- Retina/HiDPI support for regular shape and svg icon styles.
List of all changes
- #11322 - same dropdown hover than the site (@jipexu)
- #11321 - dropdown margin bottom (@jipexu)
- #11320 - margin bottom for dropdown (@jipexu)
- #11319 - dropdown margin bottom (@jipexu)
- #11318 - Mark active nav item (@ahocevar)
- #11317 - Make header and menu navigation consistent with web site (@ahocevar)
- #11277 - Have high resolution regular shape (@sbrunner)
- #11313 - Add direct link to other examples to tags (@MoonE)
- #11310 - Update bootstrap, cleanup css, make pages more responsive (@ahocevar)
- #11304 - Reuse empty canvas (@ahocevar)
- #11309 - Do not extract comments to avoid asset name conflicts (@ahocevar)
- #11306 - Replace/remove usage of tileserver.maptiler.com (@petrsloup)
- #11270 - Fix handling of events originating from overlayContainerStopEvent children (@ahocevar)
- #11269 - Register and unregister events in set target handler (@ahocevar)
- #11300 - Drag and Drop to update source and fire event only if features added (@mike-000)
- #11286 - Allow line breaks before slashes in apidoc navigation (@MoonE)
- #11287 - Examples index page fixes (@MoonE)
- #11197 - Added '&&' logical operator to expressions (@RydingM)
- #11283 - Remove update while interacting/animating from VectorImage (@yonzmeer)
- #11267 - Fix upright labels on vector tiles (@ahocevar)
- #11263 - Fix rotation reset in Mapbox-gl Layer example (@mike-000)
- #11268 - Cache size (@ahocevar)
- #11271 - Make style override CSS compatible with importing ol.css and with IE (@mike-000)
- #11253 - Only clamp to source extent for safe transforms (@ahocevar)
- #11258 - Replace ol tag with openlayers (@ahocevar)
- #11256 - Add dispose API docs to raster source (#10856) (@EvertEt)
- #11255 - GetDataAtPixel performance improvement (@Shekenix)
- #11252 - Add missing SimpleGeometry export (@jmacura)
- #11226 - By modifying the common vertex, not all geometries were changed when … (@michalzielanski)
- #11225 - Use 'source-over' to render reprojection edges (@mike-000)
- #11224 - Quote . in RegExp (@mohawk2)
- #11219 - Make proj4 transforms behave like built-in transforms (@ahocevar)
- #11218 - getFeatures() uses wrong transforms after resetting rotation (@ahocevar)
- #11217 - Additional test coverage for serializing GeoJSON (@tschaub)
- #11215 - Fix MVT multipolygons with featureClass: Feature (@ahocevar)
- #11193 - Fix VectorImage layer clipping with rotation (@mike-000)
- #11195 - getExtent() to return getEmpty() if geometry is unprojectable (@mike-000)
- #11188 - Late object initialization (@michalzielanski)
- #11194 - ol/geom/LineString#getCoordinateAt() to return Z and M values if available (@mike-000)
- #11198 - Add condition option to Extent interaction (@mike-000)
- #11202 - Branch name changes (@tschaub)
- #11192 - Use pepjs in examples to support more old/exotic browsers (@ahocevar)
- #11190 - Correct vector layer clipping with rotation (@mike-000)
- #11037 - Allow icon and text styles to be scaled in two dimensions (@mike-000)
- #11165 - Use drag-pan default condition with onFocusOnly (@ahocevar)
- #11172 - Use cross-browser find (@ahocevar)
- #11171 - Allow using un() for events registered with once() (@ahocevar)
- #11148 - Vectortile label flicker (@ahocevar)
- #11174 - Improve types and docs for getStyle/setStyle (@ahocevar)
- #11173 - Remove elm-pep dependency (@ahocevar)
- #11146 - Update JSTS example to use JSTS 2.3.0 (@bjornharrtell)
- #11135 - Re-enable onFocusOnly option for interaction defaults (@ahocevar)
- #11106 - Defer ZoomSlider initialization until its size is available (@M393)
- #11120 - correct scalebar box sizing (@mike-000)
- #11116 - No search autocomplete (@ahocevar)
- #11088 - Transform without axis order in proj4 (@ahocevar)
- #11089 - Use assign function instead of Object.assign (@ahocevar)
- #11082 - Fix outs...
v6.3.1
v6.3.0
With more than 70 pull requests, this release not only brings significant improvements to the API documentation. It also fixes some old bugs and brings frequently requested improvements. And good news for TypeScript users: OpenLayers now ships with type definitions in .d.ts
files.
New features and improvements
- Several improvements to the Graticule layer, like consistent labeling, no more missing graticule lines, and it now works for views that cross the date line.
- Better support for KML icon colors, as well as fills and outlines in PolyStyle
- Better
ol/Overlay
performance and support for panning off-screen overlays into view - Most of the rendering code can now be run in web workers, e.g. to render to an OffscreenCanvas
- OpenLayers now works fine in web components with shadow root
- WebGL point layers now support rotation based on feature attributes
List of all changes
- #10490 - Select style multiple select interactions removed (@bepremeg)
- #10531 - Dynamically chose the number of subdivisions based on the size of the Image to reproject (@pjsg)
- #10618 - Add apidoc-debug task to debug the apidoc generation process (@MoonE)
- #10343 - Correct interactions with circle geometries when using user coordinates (@mike-000)
- #10864 - Update dependencies (@ahocevar)
- #10859 - Add an example of clipping layer based on a vector source (@SDaron)
- #10850 - API docs for enums (@ahocevar)
- #10857 - Make OSM XML example work at dateline and replace Bing with MapTiler (@mike-000)
- #10858 - Perform auto-pan when adding an Overlay to a Map (@ejn)
- #10646 - Write fill and outline in KML PolyStyle (@mike-000)
- #10800 - Make Overlay.panIntoView an API method (@ejn)
- #10807 - Handle Graticule wrapX without calculating excess meridians (@mike-000)
- #10795 - Show graticule labels in wrapped worlds (@mike-000)
- #10824 - Fix drawing svg icon with color option in ie11 (@MoonE)
- #10802 - Apidoc add default-exported enums (@MoonE)
- #10805 - make ImageSourceEventType available for consumers (@regileeso)
- #10822 - parsing color from IconStyle in KML files (@lysek)
- #10848 - Speed up Overlay element positioning using CSS translate() (@horsenit)
- #9590 - Calculate tile grid extent from extent of bottom-level tile matrix (@mloskot)
- #10845 - Fix createHitDetectionImageData error for features with no size (@gedaiu)
- #10842 - Fix custom symbol example short description (@mike-000)
- #10828 - Offscreen canvas example (@ahocevar)
- #10816 - Add 'funding' field to
package.json
(@marcjansen) - #10813 - Add sponsors section to the readme (@tschaub)
- #10474 - Fix for undefined source in Image layer (@mike-000)
- #10785 - Detect Zoomify server-side retina tiles (@ahocevar)
- #10787 - Improved projection extent in the "Reprojection with EPSG.io Search" example (@mike-000)
- #10792 - Add support for EventListener Object (@flexjoly)
- #10777 - Keep the render loop running during simulation (@ahocevar)
- #10791 - iOS 12 touchmove: Prevent touchmove event default when no preceding pointer event (@sosmo)
- #10786 - Resolve constraints when updating size (@ahocevar)
- #10788 - Add safeguard to handleTouchMove (@sosmo)
- #10722 - fix: handle layer clear event in case clear(true) called (@jellyedwards)
- #10723 - Improve the extent transforms used by Graticule and handle extents crossing the dateline (@mike-000)
- #10744 - Ensure the Modify Features Test example opens at correct zoom (@mike-000)
- #10767 - Replace Bing layer with MapTiler in examples (@mike-000)
- #10751 - Sort events / observables in all cases (@MoonE)
- #10763 - TypeScript: Fix inconsistent optionality in various APIs (@jumpinjackie)
- #10758 - Allow using feature attributes for symbol rotation in WebGL layers (@jahow)
- #10748 - Fix "Cannot read property 'anchor' of undefined" in ol/View (@mike-000)
- #10746 - Fix building apidoc on windows (@MoonE)
- #10720 - Apidoc better search (@MoonE)
- #10743 - Ignore user provided tile cache size when too small (@ahocevar)
- #10736 - Allow cluster source to unlisten from its source (@M393)
- #10739 - Fix typo in trackpad timeout (@ahocevar)
- #10740 - Document tabindex behavior for MouseWheelZoom and DragPan (@matthias-ccri)
- #10738 - Fix text background decluttering (@ahocevar)
- #10715 - Fix disappearing graticule labels when rotation returns to 0 (@mike-000)
- #10713 - Draw graticule labels in a postrender function (@mike-000)
- #10711 - Make sure that optional args are typed accordingly (@ahocevar)
- #10710 - Fix stylefunction return type (@ahocevar)
- #10709 - Fix type and documentation of style function (@ahocevar)
- #10708 - Handle Select interactions with falsey select style (@ahocevar)
- #10707 - Get default projection for overview map from main map. (@AugustusKling)
- #10699 - Make Select interaction work when there are multiple instances (@ahocevar)
- #10694 - Draw image with configured opacity (@M393)
- #10703 - CI and test fixes (@ahocevar)
- [#10698](#1...
v6.2.1
This is a bugfix release which resolves bundler issues due to a circular dependency, and brings a few documentation and example fixes.
List of all changes
- #10656 - Fix for export PDF example compatibility issues, and layer opacity handling. (@mike-000)
- #10653 - More reliable check for module content beyond classes (@ahocevar)
- #10617 - Improve apidoc generation performance (@MoonE)
- #10625 - Apidoc cleanup navigation html (@MoonE)
- #10649 - Remove circular dependency (@ahocevar)
- #10637 - Develop on 6.2.1 (@openlayers)
v6.2.0
With almost 90 pull requests, this release brings several new features, performance improvements and bug fixes. In addition to that, we once again improved the API documentation and the example pages.
New features and improvements
- Mousewheel zooming now brings the same user experience as trackpad zooming. One click on the wheel no longer means a jump of a whole zoom level. Instead, depending on the speed of moving the wheel, the user has fine-grained control over zoom increments/decrements.
- Users now have better control over the initial map viewport when the aspect ratio of the map is different from a specified initial extent.
- Text rendering has been optimized for decluttering and improved for rotated views. This means lower memory footprint and no more blurry text when the map is rotated. Note: Whit this change, the label cache has been deprecated.
- A new
displacement
option for icon, circle and regular shape styles makes positioning of point symbolizers more flexible. - Several improvements have been made to the KML parser for reading styles, bringing the rendered result much closer to Google Earth.
- OpenLayers is now less aggressive on stopping events and preventing event default behavior. This means that users have more control over events, making it easier to use interactive SVGs as layers and to embed maps on scrollable pages.
- Vector tile layers now have a
vector
render mode, which brings improved zooming experience for sources with not too much data. - We replaced the previous pointer events polyfill to elm-pep, which should work better in web components.
List of all changes
- #10613 - Show KML name labels for Points in MultiGeometry (@mike-000)
- #10632 - Draw interaction: Append coordinates to polygons and lines (reworked) (@jahow)
- #9565 - Make mousewheel zoom behave like trackpad zoom. (@dbrnz)
- #10580 - Fix KML Polystyle outline 0 conflict with Linestyle for linestrings (@mike-000)
- #10612 - Make examples work in Internet Explorer (@ahocevar)
- #10587 - Adds option to View for using larger resolution value when clamping #10586 (@jeremy-smith-maco)
- #10607 - Update elm-pep to fix builds for IE < 11 (@ahocevar)
- #10598 - Remove inheritDoc to work around JSDoc issue (@ahocevar)
- #10574 - Text rendering improvements (@ahocevar)
- #10591 - Remove obsolete license notice (@ahocevar)
- #10588 - Sort doc navigation properly and add missing modules (@ahocevar)
- #10581 - Use package-lock.json for the checksum calculation (@DanielRuf)
- #10584 - fixed issue with version throwing an error if it is null (@MrSoUndso)
- #10575 - Fix ol/layer/Graticule rendercomplete problem (@mike-000)
- #10562 - Zoomify: Separate the service pixel ratio and the device pixel ratio (@crubier)
- #10573 - Replace Bing layer with MapTiler in example (@mike-000)
- #10570 - Use correct extent for the vector image (@ahocevar)
- #10572 - Assert each layer is only added to the map once (@ahocevar)
- #10563 - More compatible way of exporting a map as pdf (@ahocevar)
- #10545 - Make KML point feature styles compatible with declutter (@mike-000)
- #10542 - Replace Bing layer with MapTiler in KML example (@mike-000)
- #10543 - @api tag must not have a value. (@MoonE)
- #10547 - Only generate module apidoc pages when it contains api tags (@MoonE)
- #10502 - Stop events that originate with a removed target (@walkermatt)
- #10527 - Remove label cache, render text directly to target canvas (@ahocevar)
- #10534 - [GeoJSON] Read projection from CRS type EPSG (@wussup)
- #10430 - Offset regular shape (@Razi91)
- #10513 - fixed flag-name in upgrade notes (@fgubler)
- #10504 - Fix for reset north when rotation is 360 degrees (@mike-000)
- #10510 - Remove build/apidoc before running jsdoc again (@MoonE)
- #10498 - Fixing issue #10497 on behalf of LarryHuang (@gazza0)
- #10496 - Do not stop events when dragging (@ahocevar)
- #10478 - Do not abort and dispose of tiles (@ahocevar)
- #10495 - typo in view.fit (@danielklim)
- #10473 - Fix for undefined source in Vector layer (@mike-000)
- #10484 - Use a function to get the value of the gradient (@fredj)
- #10262 - Rework to make Document and XMLSerializer lazy and injectable (@bjornharrtell)
- #10461 - Fix link in apidocs to ObjectEvent. (@MoonE)
- #10413 - Limit the ZoomSlider's range to the view's constrained resolution. (@MoonE)
- #10438 - Avoid accessing the DOM to read the viewport size too often (@jahow)
- #10439 - WebGL points layer / add support for symbol rotation (@jahow)
- #10434 - Disable image smoothing for the DEM source in the Sea Level example (@mike-000)
- #10417 - Replace Bing layer with MapTiler (@mike-000)
- #10415 - Control button span element pointer events (@mike-000)
- #10409 - Improve viewport computation in WebGL Postprocessing (@jahow)
- #10119 - Add crossOrigin option to ol/format/KML for icons (@mike-000)
- #10181 - add tags to example docs (@roemhildtg)
- #10407 - Use render feature compatible extent check (@ahocevar)
- #10340 - Draw circles and custom geometry in user coordinates (@mike-000)
- #10393 - getFeaturesInExtent function for ol/source/VectorTile (@ahocevar)
- #10402 - Do not preventDefault on pointerdown (@ahocevar)
- #10269 - Replace the BNG layer source in the Raster Reprojection example (@mike-000)
- #10394 - Remove map renderer element when disposing ([@ahocevar](https://github.com/ahocev...
v6.1.1
6.1.1
Hot on the heels of OpenLayers 6.x, this patch release includes a few fixes for existing functionality. There should be nothing special needed to upgrade an application from 6.x to 6.1.1. See the 6.0.0 release notes for details on upgrading from an older version.
Changes
- #10235 - Various optimizations and fixes for the WebGL points renderer (@jahow)
- #10244 - Update to new eslint config with no-multi-assign (@ahocevar)
- #10243 - Store correct font value (@ahocevar)
- #10239 - Simpler container reuse (@ahocevar)
- #10237 - Fix layer zIndex test with falsy values (@fredj)
- #10221 - Fix for undefined Source (@Kai-W)
- #10228 - Use render tiles instead of source tiles for hit detection (@ahocevar)
- #10226 - ABORT reproj tiles properly (@ahocevar)
- #10224 - Vector tile hit detection fixes (@ahocevar)
- #10218 - Documentation fixes in ol/style/expressions (@fredj)
- #10216 - Update changelog script to recognize dependabot instead of greenkeeper (@ahocevar)
v6.1.0
With 47 pull requests, this release keeps up the momentum of the v6.x effort and brings several bug fixes, performance improvements and new features. In addition to that, we added some missing documentation to our API docs and gave them some usability improvements.
New features
- A new, performance optimized hit detection API on the layer level,
Layer#getFeatures(pixel)
has been introduced. At this point it is implemented for vector, vector tile and image vector layers, and is recommended when performance is critical, e.g. for hit detection on mouseover. - For the WebGLPoints layer, we made several additions to the style expressions system. This includes a
case
operator, support for array and string types, and type checking.
List of all changes
- #10214 - WebGL / Add 'case' operator for style expressions (@jahow)
- #10198 - WebGL renderer / use the specified loading strategy for the vector data (@jahow)
- #10212 - Add config file for dependabot (@fredj)
- #10187 - Set touch-action to allow native touch gestures (@ahocevar)
- #10194 - Added check to make sure extent array has four objects. (@MrSoUndso)
- #10204 - Avoid scrolling over navigation (@tschaub)
- #10205 - Add the default to the type column (@tschaub)
- #10178 - Make ol/interaction/Select#handleEvent return always true. (@TieSKey)
- #10203 - Keep issues assigned to a milestone from going stale (@tschaub)
- #10200 - Carbon add on API docs (@tschaub)
- #10196 - Webgl / add support for string and arrays in style expressions (@jahow)
- #10197 - Restore node v8 compatibility (@ahocevar)
- #10195 - Treat hsl/hsla as named colors (@mike-000)
- #10188 - Document that map render events do not have a context set (@ahocevar)
- #10184 - Clamp the weight value between 0 and 1 (@fredj)
- #10175 - Remove description from type tag (@tschaub)
- #10176 - Avoid toggling when clicking the title (@tschaub)
- #10172 - Ensure inherited docs are shown (@ahocevar)
- #10171 - Open default attributions links in a new tab or window (@mike-000)
- #10047 - Apidoc changes (@KaiVolland)
- #10161 - Implement getFeatures() for ol/layer/VectorImage (@ahocevar)
- #10168 - Webgl / Add support for filtering and color interpolation in style expressions (@jahow)
- #10170 - Add back html from select-features example (@openlayers)
- #10093 - Set label text for Graticule option styles (@mike-000)
- #10160 - Improve test in case of async call (@ejn)
- #10159 - Fix target name collision in event.Target and Control (@ejn)
- #10142 - Fix tilechange events (@ahocevar)
- #10138 - Should be able to ovveride defaultvalue of style in selection. (@wirdehall)
- #10135 - Revise the description of applyTransform for geometries (@mike-000)
- #10133 - Properly unregister source tile change listeners (@ahocevar)
- #10094 - New Layer#getFeatures method with fast hit detection (@ahocevar)
- #10104 - Remove font sizing from the attribution control (@openlayers)
- #10108 - Fix documentation for handleMoveEvent (@notnotse)
- #10118 - Document the OSM crossOrigin default (@mike-000)
- #10112 - No ERROR state for render tiles (@ahocevar)
- #10115 - Improve Heatmap hit detection test (@jahow)
- #10111 - Correct the defaulting of ol/source/VectorTile maxZoom (@mike-000)
- #10102 - Cosmetic type fixes (@KlausBenndorf)
- #10107 - Update Vector Tile Info example test for no features (@mike-000)
- #10097 - Align layer canvas to the left (@fredj)
- #10101 - Add hit detection support on the Heatmap layer (@jahow)
- #10087 - Add example showing vector tiles in EPSG:4326 (@petrsloup)
- #10086 - Update mapbox-style example (@petrsloup)
- #10083 - webgl points layer example fixes (@MoonE)
- #10076 - Remove unnecessary typecast (@fredj)
- #10074 - Remove offsets from mouse position calculation (@mike-000)
- #10072 - Better typing (@fredj)
Dependency Updates
- #10208 - Bump pixelmatch from 5.0.2 to 5.1.0 (@openlayers)
- #10210 - Bump glob from 7.1.4 to 7.1.5 (@openlayers)
- #10209 - Bump karma from 4.1.0 to 4.4.1 (@openlayers)
- #10207 - Bump ol-mapbox-style from 5.0.0-beta.3 to 5.0.2 (@openlayers)
- #10157 - Bump karma-coverage-istanbul-reporter from 2.0.5 to 2.1.0 (@openlayers)
- #10155 - Bump @types/pbf from 3.0.1 to 3.0.2 (@openlayers)
- #10153 - Bump yargs from 14.0.0 to 14.2.0 (@openlayers)
- #10154 - Bump @babel/core from 7.4.4 to 7.6.4 (@openlayers)
- #10151 - Bump rollup-plugin-babel from 4.3.2 to 4.3.3 (@openlayers)
- #10148 - Bump rollup-plugin-node-resolve from 5.0.0 to 5.2.0 (@openlayers)
- #10150 - Bump copy-webpack-plugin from 5.0.3 to 5.0.4 (@openlayers)
- #10149 - Bump rbush from 3.0.0 to 3.0.1 (@openlayers)
- #10147 - Bump rollup from 1.12.0 to 1.25.1 (@openlayers)
- [#10145](htt...