ol 7.4.1-dev.1686055044262 → 7.4.1-dev.1686166152921

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.
@@ -1 +1 @@
1
- {"version":3,"file":"MapboxVector.d.ts","sourceRoot":"","sources":["MapboxVector.js"],"names":[],"mappings":";;;;;;;cA8Bc,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAFpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH;IACE;;;OAGG;IACH,qBAHW,OAAO,EAqDjB;IAnBG,gCAAsC;CAoB3C;4BA9L2B,wBAAwB"}
1
+ {"version":3,"file":"MapboxVector.d.ts","sourceRoot":"","sources":["MapboxVector.js"],"names":[],"mappings":";;;;;;;cA8Bc,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAFpB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4EG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH;IACE;;;OAGG;IACH,qBAHW,OAAO,EAuDjB;IArBG,gCAAsC;CAsB3C;4BAhM2B,wBAAwB"}
@@ -177,7 +177,8 @@ class MapboxVectorLayer extends VectorTileLayer {
177
177
  this.accessToken = options.accessToken;
178
178
  }
179
179
  const url = options.styleUrl;
180
- applyStyle(this, url, options.layers || options.source, {
180
+ //FIXME Remove type cast as soon as we know why it is needed
181
+ applyStyle(/** @type {*} */ (this), url, options.layers || options.source, {
181
182
  accessToken: this.accessToken,
182
183
  })
183
184
  .then(() => {
@@ -189,7 +190,8 @@ class MapboxVectorLayer extends VectorTileLayer {
189
190
  source.setState('error');
190
191
  });
191
192
  if (this.getBackground() === undefined) {
192
- applyBackground(this, options.styleUrl, {
193
+ //FIXME Remove type cast as soon as we know why it is needed
194
+ applyBackground(/** @type {*} */ (this), options.styleUrl, {
193
195
  accessToken: this.accessToken,
194
196
  });
195
197
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ol",
3
- "version": "7.4.1-dev.1686055044262",
3
+ "version": "7.4.1-dev.1686166152921",
4
4
  "description": "OpenLayers mapping library",
5
5
  "keywords": [
6
6
  "map",
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.4.1-dev.1686055044262';
36
+ export const VERSION = '7.4.1-dev.1686166152921';