azure-maps-control 2.3.3 → 2.3.4
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/dist/atlas-core-bare-snr.js +19 -14
- package/dist/atlas-core-bare.js +19 -14
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +20 -15
- package/dist/atlas-core.js +20 -15
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas.js +20 -15
- package/dist/atlas.min.js +1 -1
- package/package.json +1 -1
- package/typings/index.d.ts +3 -3
package/dist/atlas-core-snr.js
CHANGED
|
@@ -43477,7 +43477,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
43477
43477
|
return Url;
|
|
43478
43478
|
}());
|
|
43479
43479
|
|
|
43480
|
-
var version = "2.3.
|
|
43480
|
+
var version = "2.3.4";
|
|
43481
43481
|
|
|
43482
43482
|
/**
|
|
43483
43483
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -61553,7 +61553,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
61553
61553
|
return undefined;
|
|
61554
61554
|
};
|
|
61555
61555
|
/**
|
|
61556
|
-
* Removes all
|
|
61556
|
+
* Removes all layers from the map.
|
|
61557
61557
|
*/
|
|
61558
61558
|
LayerManager.prototype.clear = function () {
|
|
61559
61559
|
for (var layerIndexIndex = this.layerIndex.length - 1; layerIndexIndex >= 0; layerIndexIndex--) {
|
|
@@ -64379,6 +64379,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
64379
64379
|
params.url = targetUrl.href;
|
|
64380
64380
|
}
|
|
64381
64381
|
(_a = this.map.authentication) === null || _a === void 0 ? void 0 : _a.signRequest(params);
|
|
64382
|
+
// Delete auth token for static assets to allow AFD caching
|
|
64383
|
+
this._deleteAuthTokenForStaticAssets(params);
|
|
64382
64384
|
}
|
|
64383
64385
|
};
|
|
64384
64386
|
/**
|
|
@@ -64406,6 +64408,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
64406
64408
|
requestParams = this.serviceOptions.transformRequest(requestParams.url, resourceType);
|
|
64407
64409
|
}
|
|
64408
64410
|
(_a = this.map.authentication) === null || _a === void 0 ? void 0 : _a.signRequest(requestParams);
|
|
64411
|
+
// Delete auth token for static assets to allow AFD caching
|
|
64412
|
+
this._deleteAuthTokenForStaticAssets(requestParams);
|
|
64409
64413
|
fetchOptions = {
|
|
64410
64414
|
method: "GET",
|
|
64411
64415
|
mode: "cors",
|
|
@@ -64428,19 +64432,20 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
64428
64432
|
});
|
|
64429
64433
|
};
|
|
64430
64434
|
/**
|
|
64431
|
-
*
|
|
64435
|
+
* Delete auth token for static assets to allow AFD caching.
|
|
64432
64436
|
*/
|
|
64433
|
-
StyleManager.
|
|
64434
|
-
|
|
64435
|
-
|
|
64436
|
-
|
|
64437
|
-
|
|
64438
|
-
|
|
64439
|
-
|
|
64440
|
-
|
|
64441
|
-
|
|
64442
|
-
|
|
64443
|
-
|
|
64437
|
+
StyleManager.prototype._deleteAuthTokenForStaticAssets = function (params) {
|
|
64438
|
+
// The following resources are considered as static assets.
|
|
64439
|
+
// StyleSet /styling/styles
|
|
64440
|
+
// Style /styling/styles/*
|
|
64441
|
+
// Thumbnail /styling/styles/*/thumbnail.png
|
|
64442
|
+
// Sprite PNG /styling/sprites/*/sprite@2x.png
|
|
64443
|
+
// Sprite JSON /styling/sprites/*/sprite@2x.json
|
|
64444
|
+
// Glyph /styling/glyphs/*/0-255.pbf
|
|
64445
|
+
if (params.url.startsWith("https://" + this.serviceOptions.staticAssetsDomain + "/" + constants.stylePath)) {
|
|
64446
|
+
delete params.headers[constants.msClientIdHeaderName];
|
|
64447
|
+
delete params.headers[constants.authorizationHeaderName];
|
|
64448
|
+
}
|
|
64444
64449
|
};
|
|
64445
64450
|
return StyleManager;
|
|
64446
64451
|
}());
|
|
@@ -65626,7 +65631,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
65626
65631
|
this.dispose();
|
|
65627
65632
|
};
|
|
65628
65633
|
/**
|
|
65629
|
-
* Removes all
|
|
65634
|
+
* Removes all sources, layers, markers, and popups from the map.
|
|
65630
65635
|
* User added images are preserved.
|
|
65631
65636
|
*/
|
|
65632
65637
|
Map.prototype.clear = function () {
|
package/dist/atlas-core.js
CHANGED
|
@@ -43477,7 +43477,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
43477
43477
|
return Url;
|
|
43478
43478
|
}());
|
|
43479
43479
|
|
|
43480
|
-
var version = "2.3.
|
|
43480
|
+
var version = "2.3.4";
|
|
43481
43481
|
|
|
43482
43482
|
/**
|
|
43483
43483
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -69275,7 +69275,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
69275
69275
|
return undefined;
|
|
69276
69276
|
};
|
|
69277
69277
|
/**
|
|
69278
|
-
* Removes all
|
|
69278
|
+
* Removes all layers from the map.
|
|
69279
69279
|
*/
|
|
69280
69280
|
LayerManager.prototype.clear = function () {
|
|
69281
69281
|
for (var layerIndexIndex = this.layerIndex.length - 1; layerIndexIndex >= 0; layerIndexIndex--) {
|
|
@@ -72101,6 +72101,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
72101
72101
|
params.url = targetUrl.href;
|
|
72102
72102
|
}
|
|
72103
72103
|
(_a = this.map.authentication) === null || _a === void 0 ? void 0 : _a.signRequest(params);
|
|
72104
|
+
// Delete auth token for static assets to allow AFD caching
|
|
72105
|
+
this._deleteAuthTokenForStaticAssets(params);
|
|
72104
72106
|
}
|
|
72105
72107
|
};
|
|
72106
72108
|
/**
|
|
@@ -72128,6 +72130,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
72128
72130
|
requestParams = this.serviceOptions.transformRequest(requestParams.url, resourceType);
|
|
72129
72131
|
}
|
|
72130
72132
|
(_a = this.map.authentication) === null || _a === void 0 ? void 0 : _a.signRequest(requestParams);
|
|
72133
|
+
// Delete auth token for static assets to allow AFD caching
|
|
72134
|
+
this._deleteAuthTokenForStaticAssets(requestParams);
|
|
72131
72135
|
fetchOptions = {
|
|
72132
72136
|
method: "GET",
|
|
72133
72137
|
mode: "cors",
|
|
@@ -72150,19 +72154,20 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
72150
72154
|
});
|
|
72151
72155
|
};
|
|
72152
72156
|
/**
|
|
72153
|
-
*
|
|
72157
|
+
* Delete auth token for static assets to allow AFD caching.
|
|
72154
72158
|
*/
|
|
72155
|
-
StyleManager.
|
|
72156
|
-
|
|
72157
|
-
|
|
72158
|
-
|
|
72159
|
-
|
|
72160
|
-
|
|
72161
|
-
|
|
72162
|
-
|
|
72163
|
-
|
|
72164
|
-
|
|
72165
|
-
|
|
72159
|
+
StyleManager.prototype._deleteAuthTokenForStaticAssets = function (params) {
|
|
72160
|
+
// The following resources are considered as static assets.
|
|
72161
|
+
// StyleSet /styling/styles
|
|
72162
|
+
// Style /styling/styles/*
|
|
72163
|
+
// Thumbnail /styling/styles/*/thumbnail.png
|
|
72164
|
+
// Sprite PNG /styling/sprites/*/sprite@2x.png
|
|
72165
|
+
// Sprite JSON /styling/sprites/*/sprite@2x.json
|
|
72166
|
+
// Glyph /styling/glyphs/*/0-255.pbf
|
|
72167
|
+
if (params.url.startsWith("https://" + this.serviceOptions.staticAssetsDomain + "/" + constants.stylePath)) {
|
|
72168
|
+
delete params.headers[constants.msClientIdHeaderName];
|
|
72169
|
+
delete params.headers[constants.authorizationHeaderName];
|
|
72170
|
+
}
|
|
72166
72171
|
};
|
|
72167
72172
|
return StyleManager;
|
|
72168
72173
|
}());
|
|
@@ -73354,7 +73359,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
73354
73359
|
this.dispose();
|
|
73355
73360
|
};
|
|
73356
73361
|
/**
|
|
73357
|
-
* Removes all
|
|
73362
|
+
* Removes all sources, layers, markers, and popups from the map.
|
|
73358
73363
|
* User added images are preserved.
|
|
73359
73364
|
*/
|
|
73360
73365
|
Map.prototype.clear = function () {
|