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.
- package/control/ZoomSlider.d.ts +7 -0
- package/control/ZoomSlider.d.ts.map +1 -1
- package/control/ZoomSlider.js +3 -0
- package/dist/ol.js +1 -1
- package/dist/ol.js.map +1 -1
- package/layer/MapboxVector.d.ts.map +1 -1
- package/layer/MapboxVector.js +4 -2
- package/package.json +1 -1
- package/util.js +1 -1
|
@@ -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,
|
|
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"}
|
package/layer/MapboxVector.js
CHANGED
|
@@ -177,7 +177,8 @@ class MapboxVectorLayer extends VectorTileLayer {
|
|
|
177
177
|
this.accessToken = options.accessToken;
|
|
178
178
|
}
|
|
179
179
|
const url = options.styleUrl;
|
|
180
|
-
|
|
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
|
-
|
|
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
package/util.js
CHANGED