azure-maps-control 2.2.5 → 2.2.6
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 +8 -7
- package/dist/atlas-core-bare.js +8 -9
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +8 -7
- package/dist/atlas-core.js +8 -9
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas.js +8 -9
- package/dist/atlas.min.js +1 -1
- package/package.json +1 -1
package/dist/atlas.js
CHANGED
|
@@ -43619,7 +43619,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
43619
43619
|
return Url;
|
|
43620
43620
|
}());
|
|
43621
43621
|
|
|
43622
|
-
var version = "2.2.
|
|
43622
|
+
var version = "2.2.6";
|
|
43623
43623
|
|
|
43624
43624
|
/**
|
|
43625
43625
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -75236,8 +75236,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
75236
75236
|
resolve(source);
|
|
75237
75237
|
}
|
|
75238
75238
|
else {
|
|
75239
|
-
// force source loading as same resolved source in different style will get cached and won't emit events
|
|
75240
|
-
source.load();
|
|
75241
75239
|
source.on('data', function sourceDataListener(event) {
|
|
75242
75240
|
if (event.sourceDataType == 'metadata') {
|
|
75243
75241
|
source.off('data', sourceDataListener);
|
|
@@ -82483,9 +82481,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
82483
82481
|
showLogo: _this.styleOptions.showLogo,
|
|
82484
82482
|
customAttribution: _this.styleOptions.customAttribution
|
|
82485
82483
|
});
|
|
82486
|
-
_this.controls.add(_this.copyrightControl, {
|
|
82487
|
-
position: exports.ControlPosition.NonFixed
|
|
82488
|
-
});
|
|
82489
82484
|
// Initialize state of map
|
|
82490
82485
|
// --> Initialize the authentication manager
|
|
82491
82486
|
var authManInit = _this.authentication ?
|
|
@@ -82512,14 +82507,18 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
82512
82507
|
_this._setAutoResize(_this.styleOptions.autoResize);
|
|
82513
82508
|
_this.map.showTileBoundaries = _this.styleOptions.showTileBoundaries;
|
|
82514
82509
|
_this.localizedStringsPromise = Localizer.getStrings(_this.styleOptions.language);
|
|
82515
|
-
|
|
82516
|
-
|
|
82517
|
-
|
|
82510
|
+
authManInit
|
|
82511
|
+
.then(function () { return _this.styles.initStyleset(); })
|
|
82512
|
+
.then(function (definitions) {
|
|
82518
82513
|
// Check that the map hasn't been removed for any reason.
|
|
82519
82514
|
// If so no need to finish styling the map.
|
|
82520
82515
|
if (_this.removed) {
|
|
82521
82516
|
return;
|
|
82522
82517
|
}
|
|
82518
|
+
// Add controls after initStyleset to prevent redundant initStyleset calls
|
|
82519
|
+
_this.controls.add(_this.copyrightControl, {
|
|
82520
|
+
position: exports.ControlPosition.NonFixed
|
|
82521
|
+
});
|
|
82523
82522
|
if (_this.authentication && !_this.authentication.getToken()) {
|
|
82524
82523
|
throw new Error("AuthenticationManager finished initializing, but no token is available");
|
|
82525
82524
|
}
|