v6.3.0
版本发布时间: 2020-04-03 04:44:48
openlayers/openlayers最新发布版本:v10.3.1(2024-12-06 23:34:09)
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 - Shadow root (@ahocevar)
- #10688 - Publish type definition files (@ahocevar)
- #10691 - Do not exceed color range (@ahocevar)
- #10683 - Dispatch enterfullscreen and leavefullscreen from the FullScreen control (@fredj)
- #10676 - Document that overviewmap view must use same projection as main map (@mike-000)
- #10678 - Add maxResolution option to ol/tilegrid.createXYZ() and ol/source/XYZ (@mike-000)
- #10690 - Document minZoom and maxZoom options for all layers (@mike-000)
- #10672 - Nicer mousewheel and trackpad zooming (@ahocevar)
- #10687 - Increase timeout in listenImage test (@fredj)
- #10684 - perf: only do expensive reload when texture changes (@jellyedwards)
- #10675 - typo (@jipexu)
- #10669 - More browser compatible Export Map example (@mike-000)
- #10667 - Do not render label with the current linedash (@ahocevar)
- #10666 - Load polyfill before example specific scripts in examples template (@mike-000)
- #6526 - Draw interaction: add abortDrawing method and drawabort event (@tchandelle)
- #10657 - Changelog for v6.2.1 (@openlayers)
Dependency Updates
- #10855 - Bump rollup from 2.1.0 to 2.3.0 (@openlayers)
- #10854 - Bump ol-mapbox-style from 6.1.0 to 6.1.1 (@openlayers)
- #10853 - Bump buble from 0.19.8 to 0.20.0 (@openlayers)
- #10852 - Bump webpack from 4.42.0 to 4.42.1 (@openlayers)
- #10837 - Bump ol-mapbox-style from 6.0.1 to 6.1.0 (@openlayers)
- #10836 - Bump coveralls from 3.0.9 to 3.0.11 (@openlayers)
- #10835 - Bump @babel/preset-env from 7.8.7 to 7.9.0 (@openlayers)
- #10834 - Bump rollup from 1.32.1 to 2.1.0 (@openlayers)
- #10833 - Bump fs-extra from 8.1.0 to 9.0.0 (@openlayers)
- #10832 - Bump @babel/core from 7.8.7 to 7.9.0 (@openlayers)
- #10831 - Bump babel-loader from 8.0.6 to 8.1.0 (@openlayers)
- #10830 - Bump mocha from 7.1.0 to 7.1.1 (@openlayers)
- #10829 - Bump marked from 0.8.0 to 0.8.2 (@openlayers)
- #10811 - Bump sinon from 9.0.0 to 9.0.1 (@openlayers)
- #10810 - Bump rollup-plugin-terser from 5.2.0 to 5.3.0 (@openlayers)
- #10809 - Bump yargs from 15.3.0 to 15.3.1 (@openlayers)
- #10806 - [Security] Bump acorn from 6.1.1 to 6.4.1 (@openlayers)
- #10755 - Bump rollup from 1.31.1 to 1.32.0 (@openlayers)
- #10754 - Bump @babel/preset-env from 7.8.4 to 7.8.6 (@openlayers)
- #10753 - Bump mocha from 7.0.1 to 7.1.0 (@openlayers)
- #10752 - Bump @babel/core from 7.8.4 to 7.8.6 (@openlayers)
- #10725 - Bump elm-pep from 1.0.4 to 1.0.6 (@openlayers)
- #10726 - Bump sinon from 8.1.1 to 9.0.0 (@openlayers)
- #10680 - Bump terser-webpack-plugin from 2.3.4 to 2.3.5 (@openlayers)
- #10682 - Bump webpack from 4.41.5 to 4.41.6 (@openlayers)
- #10681 - Bump webpack-cli from 3.3.10 to 3.3.11 (@openlayers)
- #10679 - Bump rollup from 1.31.0 to 1.31.1 (@openlayers)
1、 v6.3.0-dist.zip 909.36KB
2、 v6.3.0.zip 23.25MB