ol 7.0.1-dev.1661441395492 → 7.0.1-dev.1661609353651

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol",
3
- "version": "7.0.1-dev.1661441395492",
3
+ "version": "7.0.1-dev.1661609353651",
4
4
  "description": "OpenLayers mapping library",
5
5
  "keywords": [
6
6
  "map",
package/proj/proj4.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Make projections defined in proj4 (with `proj4.defs()`) available in
3
- * OpenLayers.
3
+ * OpenLayers. Requires proj4 >= 2.8.0.
4
4
  *
5
5
  * This function should be called whenever changes are made to the proj4
6
6
  * registry, e.g. after calling `proj4.defs()`. Existing transforms will not be
package/proj/proj4.js CHANGED
@@ -13,7 +13,7 @@ import {get as getTransform} from './transforms.js';
13
13
 
14
14
  /**
15
15
  * Make projections defined in proj4 (with `proj4.defs()`) available in
16
- * OpenLayers.
16
+ * OpenLayers. Requires proj4 >= 2.8.0.
17
17
  *
18
18
  * This function should be called whenever changes are made to the proj4
19
19
  * registry, e.g. after calling `proj4.defs()`. Existing transforms will not be
@@ -1 +1 @@
1
- {"version":3,"file":"ImageWMS.d.ts","sourceRoot":"","sources":["ImageWMS.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoDc,OAAO,YAAY,EAAE,cAAc;;;;;;;;;;;;;;;;;AAlBjD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAEH;;;;;;GAMG;AACH;IACE;;OAEG;IACH,2CAgFC;IAtEC;;;OAGG;IACH,qBACgE;IAEhE;;;OAGG;IACH,aAAuB;IAEvB;;;OAGG;IACH,2BAG8B;IAE9B;;;OAGG;IACH,gBAAmC;IAEnC;;;OAGG;IACH,aAAgB;IAGhB;;;OAGG;IACH,oBAAqC;IAErC;;;OAGG;IACH,eAAgE;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C;IAErC;;;OAGG;IACH,eAAgE;IAEhE;;;OAGG;IACH,eAAkB;IAElB;;;OAGG;IACH,mBAAwB;IAExB;;;OAGG;IACH,0BAA0B;IAE1B;;;OAGG;IACH,eAA+D;IAGjE;;;;;;;;;;;;;OAaG;IACH,8BAVW,OAAO,kBAAkB,EAAE,UAAU,cACrC,MAAM,cACN,OAAO,YAAY,EAAE,cAAc,gBAKlC,MAAM,GAAC,SAAS,CAiD3B;IAED;;;;;;;;;;;;;OAaG;IACH,6DAHY,MAAM,GAAC,SAAS,CAmC3B;IAED;;;;;OAKG;IACH,iBAEC;IAED;;;;;;OAMG;IACH,yBANW,OAAO,cAAc,EAAE,MAAM,cAC7B,MAAM,cACN,MAAM,cACN,OAAO,uBAAuB,EAAE,OAAO,GACtC,OAAO,aAAa,EAAE,OAAO,CAyFxC;IAED;;;;OAIG;IACH,wBAHY,OAAO,aAAa,EAAE,YAAY,CAK7C;IAED;;;;;;;;OAQG;IACH,uBA6CC;IAED;;;;OAIG;IACH,UAHY,MAAM,GAAC,SAAS,CAK3B;IAED;;;;OAIG;IACH,wCAHW,OAAO,aAAa,EAAE,YAAY,QAO5C;IAED;;;;OAIG;IACH,YAHW,MAAM,GAAC,SAAS,QAS1B;IAED;;;;OAIG;IACH,gCAKC;IAED;;OAEG;IACH,mBAGC;CACF"}
@@ -106,7 +106,7 @@ class ImageWMS extends ImageSource {
106
106
  * @private
107
107
  * @type {!Object}
108
108
  */
109
- this.params_ = options.params || {};
109
+ this.params_ = Object.assign({}, options.params);
110
110
 
111
111
  /**
112
112
  * @private
package/source/TileWMS.js CHANGED
@@ -84,7 +84,7 @@ class TileWMS extends TileImage {
84
84
  constructor(options) {
85
85
  options = options ? options : /** @type {Options} */ ({});
86
86
 
87
- const params = options.params || {};
87
+ const params = Object.assign({}, options.params);
88
88
 
89
89
  const transparent = 'TRANSPARENT' in params ? params['TRANSPARENT'] : true;
90
90
 
package/util.js CHANGED
@@ -33,4 +33,4 @@ export function getUid(obj) {
33
33
  * OpenLayers version.
34
34
  * @type {string}
35
35
  */
36
- export const VERSION = '7.0.1-dev.1661441395492';
36
+ export const VERSION = '7.0.1-dev.1661609353651';