1 | # v3.10.0
|
2 |
|
3 |
|
4 | ## Summary
|
5 |
|
6 | The v3.10.0 release includes features and fixes from 66 pull requests since the v3.9.0 release. New features and improvements include:
|
7 |
|
8 | * Full touch gesture support for the Microsoft Edge browser.
|
9 | * Improved API docs - required constructor options are now marked as such.
|
10 | * Text styles (vector labels) now work with defaults instead of failing when only a label text is set.
|
11 | * Write support for GML3 features with multiple geometries
|
12 |
|
13 | See the complete list below for details. And see the following notes to know how to upgrade from v3.9.0 to v3.10.0.
|
14 |
|
15 |
|
16 | ## Upgrade notes
|
17 |
|
18 | #### `ol.layer.Layer` changes
|
19 |
|
20 | The experimental `setHue`, `setContrast`, `setBrightness`, `setSaturation`, and the corresponding getter methods have been removed. These properties only worked with the WebGL renderer. If you are interested in applying color transforms, look for the `postcompose` event in the API docs. In addition, the `ol.source.Raster` source provides a way to create new raster data based on arbitrary transforms run on any number of input sources.
|
21 |
|
22 | #### Removal of legacy Internet Explorer support
|
23 |
|
24 | If you are building an appliction that supports Internet Explorer 8 or older, you'll need to use ES5 shims to make OpenLayers work. As before, support for such old browsers is very basic, and we recommend to not support them.
|
25 |
|
26 |
|
27 | ## New features and fixes
|
28 |
|
29 | * [#4237](https://github.com/openlayers/openlayers/pull/4237) - #3328: GML3 - Writing features with multiple geometries ([@awaterme](https://github.com/awaterme))
|
30 | * [#4218](https://github.com/openlayers/openlayers/pull/4218) - Add 'getLayer()' method to 'ol.interaction.Select' ([@jonataswalker](https://github.com/jonataswalker))
|
31 | * [#4036](https://github.com/openlayers/openlayers/pull/4036) - Fix modify interaction event order ([@alvinlindstam](https://github.com/alvinlindstam))
|
32 | * [#4036](https://github.com/openlayers/openlayers/pull/4036) - Fix modify interaction event order ([@alvinlindstam](https://github.com/alvinlindstam))
|
33 | * [#4116](https://github.com/openlayers/openlayers/pull/4116) - Make ol.control.OverviewMap's view configurable ([@ahocevar](https://github.com/ahocevar))
|
34 | * [#4234](https://github.com/openlayers/openlayers/pull/4234) - Support OGC WKT proj4 def.units and def.to_meter ([@tbarsballe](https://github.com/tbarsballe))
|
35 | * [#4224](https://github.com/openlayers/openlayers/pull/4224) - Don't transform the angle into degrees to rotate the element ([@fredj](https://github.com/fredj))
|
36 | * [#4231](https://github.com/openlayers/openlayers/pull/4231) - Revert "Merge pull request #4217 from ThomasG77/clipboardjs-replacement" ([@ahocevar](https://github.com/ahocevar))
|
37 | * [#4217](https://github.com/openlayers/openlayers/pull/4217) - Replace ZeroClipboard with Clipboard.js to remove flash dependency ([@ThomasG77](https://github.com/ThomasG77))
|
38 | * [#4223](https://github.com/openlayers/openlayers/pull/4223) - Remove goog.fx.easing ([@fredj](https://github.com/fredj))
|
39 | * [#4222](https://github.com/openlayers/openlayers/pull/4222) - Remove unnecessary cast ([@fredj](https://github.com/fredj))
|
40 | * [#4209](https://github.com/openlayers/openlayers/pull/4209) - Remove goog.string.remove ([@gberaudo](https://github.com/gberaudo))
|
41 | * [#4207](https://github.com/openlayers/openlayers/pull/4207) - Remove goog.string.startsWith ([@gberaudo](https://github.com/gberaudo))
|
42 | * [#4208](https://github.com/openlayers/openlayers/pull/4208) - Remove goog.string.trim() ([@gberaudo](https://github.com/gberaudo))
|
43 | * [#4216](https://github.com/openlayers/openlayers/pull/4216) - Fix canvas replay which broke with 31a68e2 ([@ahocevar](https://github.com/ahocevar))
|
44 | * [#4202](https://github.com/openlayers/openlayers/pull/4202) - Remove use of goog.dom.appendChild ([@fredj](https://github.com/fredj))
|
45 | * [#4205](https://github.com/openlayers/openlayers/pull/4205) - Minor cleanup ([@fredj](https://github.com/fredj))
|
46 | * [#4203](https://github.com/openlayers/openlayers/pull/4203) - Cosmetic changes to example html / css ([@marcjansen](https://github.com/marcjansen))
|
47 | * [#4184](https://github.com/openlayers/openlayers/pull/4184) - Adjust iframe's position of GetFeatureInfo examples ([@jonataswalker](https://github.com/jonataswalker))
|
48 | * [#4192](https://github.com/openlayers/openlayers/pull/4192) - Remove use of goog.isNull in favor of simple truthy checks ([@marcjansen](https://github.com/marcjansen))
|
49 | * [#4187](https://github.com/openlayers/openlayers/pull/4187) - Fix {-y} template calculation for custom (TMS) tile grids ([@ahocevar](https://github.com/ahocevar))
|
50 | * [#4176](https://github.com/openlayers/openlayers/pull/4176) - Remove use of goog.isDefAndNotNull().
([@tschaub](https://github.com/tschaub))
|
51 | * [#4200](https://github.com/openlayers/openlayers/pull/4200) - Do not use goog.object.get ([@marcjansen](https://github.com/marcjansen))
|
52 | * [#4198](https://github.com/openlayers/openlayers/pull/4198) - Improve ol.control.Rotate.prototype.resetNorth_ performance ([@denilsonsa](https://github.com/denilsonsa))
|
53 | * [#4197](https://github.com/openlayers/openlayers/pull/4197) - Remove blur action on MOUSEOUT on Zoom Out button ([@denilsonsa](https://github.com/denilsonsa))
|
54 | * [#4195](https://github.com/openlayers/openlayers/pull/4195) - #4171: Prefer current layout as default on MultiLineString.setLineStrings() ([@awaterme](https://github.com/awaterme))
|
55 | * [#4172](https://github.com/openlayers/openlayers/pull/4172) - #4171: Prefer current layout as default on Multipolygon.setPolygons() ([@awaterme](https://github.com/awaterme))
|
56 | * [#4190](https://github.com/openlayers/openlayers/pull/4190) - Remove use of goog.functions.constant ([@marcjansen](https://github.com/marcjansen))
|
57 | * [#4188](https://github.com/openlayers/openlayers/pull/4188) - Remove use of goog.object.getKeys ([@fredj](https://github.com/fredj))
|
58 | * [#4189](https://github.com/openlayers/openlayers/pull/4189) - Replace goog.nullFunction with ol.nullFunction ([@marcjansen](https://github.com/marcjansen))
|
59 | * [#4165](https://github.com/openlayers/openlayers/pull/4165) - Use ECMAScript 5.1 Array functions instead of goog.array ([@fredj](https://github.com/fredj))
|
60 | * [#4181](https://github.com/openlayers/openlayers/pull/4181) - Remove use of goog.array.contains ([@fredj](https://github.com/fredj))
|
61 | * [#4162](https://github.com/openlayers/openlayers/pull/4162) - Remove ol.LEGACY_IE_SUPPORT ([@fredj](https://github.com/fredj))
|
62 | * [#4174](https://github.com/openlayers/openlayers/pull/4174) - Remove hue, saturation, contrast, and brightness as layer properties. ([@tschaub](https://github.com/tschaub))
|
63 | * [#4183](https://github.com/openlayers/openlayers/pull/4183) - Remove @api on getHitDetectionFramebuffer ([@elemoine](https://github.com/elemoine))
|
64 | * [#4179](https://github.com/openlayers/openlayers/pull/4179) - Use Date.now() instead of goog.now() ([@marcjansen](https://github.com/marcjansen))
|
65 | * [#4175](https://github.com/openlayers/openlayers/pull/4175) - Remove use of goog.math.clamp(). ([@tschaub](https://github.com/tschaub))
|
66 | * [#4173](https://github.com/openlayers/openlayers/pull/4173) - Only animate when resolution is about to be changed ([@ahocevar](https://github.com/ahocevar))
|
67 | * [#4129](https://github.com/openlayers/openlayers/pull/4129) - Remove use of goog.isDef. ([@openlayers](https://github.com/openlayers))
|
68 | * [#4168](https://github.com/openlayers/openlayers/pull/4168) - Tile preload example wording (fixes #4147) ([@wlerner](https://github.com/wlerner))
|
69 | * [#4167](https://github.com/openlayers/openlayers/pull/4167) - Remove externs in externs/closure-compiler.js ([@fredj](https://github.com/fredj))
|
70 | * [#4166](https://github.com/openlayers/openlayers/pull/4166) - Use version 20150920 of Closure Compiler ([@elemoine](https://github.com/elemoine))
|
71 | * [#4159](https://github.com/openlayers/openlayers/pull/4159) - Remove use of goog.object.containsKey ([@fredj](https://github.com/fredj))
|
72 | * [#4157](https://github.com/openlayers/openlayers/pull/4157) - Fix typo in doc ([@elemoine](https://github.com/elemoine))
|
73 | * [#4138](https://github.com/openlayers/openlayers/pull/4138) - Enhanced documentation for ol.style.Text ([@ekargee](https://github.com/ekargee))
|
74 | * [#4151](https://github.com/openlayers/openlayers/pull/4151) - Remove bogus assertion ([@elemoine](https://github.com/elemoine))
|
75 | * [#4110](https://github.com/openlayers/openlayers/pull/4110) - Minor cleanups ([@fredj](https://github.com/fredj))
|
76 | * [#4156](https://github.com/openlayers/openlayers/pull/4156) - Rename drag-features example to custom-interactions ([@elemoine](https://github.com/elemoine))
|
77 | * [#4150](https://github.com/openlayers/openlayers/pull/4150) - Remove use of goog.object.remove ([@fredj](https://github.com/fredj))
|
78 | * [#4145](https://github.com/openlayers/openlayers/pull/4145) - API method for simplifying geometries. ([@tschaub](https://github.com/tschaub))
|
79 | * [#4153](https://github.com/openlayers/openlayers/pull/4153) - Add a "features" option to ol.interaction.Select ([@elemoine](https://github.com/elemoine))
|
80 | * [#4144](https://github.com/openlayers/openlayers/pull/4144) - Set context.fillStyle to a string ([@elemoine](https://github.com/elemoine))
|
81 | * [#4149](https://github.com/openlayers/openlayers/pull/4149) - Remove use of goog.array.isEmpty ([@fredj](https://github.com/fredj))
|
82 | * [#4139](https://github.com/openlayers/openlayers/pull/4139) - Add turf.js and JSTS example ([@tsauerwein](https://github.com/tsauerwein))
|
83 | * [#4136](https://github.com/openlayers/openlayers/pull/4136) - Fix the 'click-to-fork' link in contributer notes ([@marcjansen](https://github.com/marcjansen))
|
84 | * [#4132](https://github.com/openlayers/openlayers/pull/4132) - Update quickstart tutorial ([@tsauerwein](https://github.com/tsauerwein))
|
85 | * [#4111](https://github.com/openlayers/openlayers/pull/4111) - Use a blackish default for filling texts ([@marcjansen](https://github.com/marcjansen))
|
86 | * [#4120](https://github.com/openlayers/openlayers/pull/4120) - Remove invalid link to featureOverlay in API doc ([@kalbermattenm](https://github.com/kalbermattenm))
|
87 | * [#4117](https://github.com/openlayers/openlayers/pull/4117) - forEachFeatureAtPixel shouldn't fail if layer has no source ([@pgiraud](https://github.com/pgiraud))
|
88 | * [#4106](https://github.com/openlayers/openlayers/pull/4106) - Focus to search field on page load ([@elemoine](https://github.com/elemoine))
|
89 | * [#4079](https://github.com/openlayers/openlayers/pull/4079) - Automatically mark required options in API-docs ([@marcjansen](https://github.com/marcjansen))
|
90 | * [#4108](https://github.com/openlayers/openlayers/pull/4108) - Add missing CSSProperties.prototype.touchAction extern ([@fredj](https://github.com/fredj))
|
91 | * [#4107](https://github.com/openlayers/openlayers/pull/4107) - Prevent page zoom on IE Edge ([@fredj](https://github.com/fredj))
|
92 | * [#3969](https://github.com/openlayers/openlayers/pull/3969) - Add an option to use the mouse's location as an anchor when zooming ([@samuellapointe](https://github.com/samuellapointe))
|
93 | * [#4101](https://github.com/openlayers/openlayers/pull/4101) - Release v3.9.0 ([@elemoine](https://github.com/elemoine))
|