v6.1.0
版本发布时间: 2019-10-29 05:12:31
openlayers/openlayers最新发布版本:v10.3.1(2024-12-06 23:34:09)
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 - Greenkeeper/handlebars 4.4.5 (@openlayers)
- #10132 - Update webpack to the latest version 🚀 (@openlayers)
- #10143 - Update mocha to the latest version 🚀 (@openlayers)
- #10117 - Update pbf to the latest version 🚀 (@openlayers)
- #10114 - Update coveralls to the latest version 🚀 (@openlayers)
- #10116 - Update webpack to the latest version 🚀 (@openlayers)
- #10105 - Update jsdoc-plugin-typescript to the latest version 🚀 (@openlayers)
1、 v6.1.0-dist.zip 913.53KB
2、 v6.1.0.zip 26.8MB