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-core-snr.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.
|
|
@@ -64574,9 +64574,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
64574
64574
|
showLogo: _this.styleOptions.showLogo,
|
|
64575
64575
|
customAttribution: _this.styleOptions.customAttribution
|
|
64576
64576
|
});
|
|
64577
|
-
_this.controls.add(_this.copyrightControl, {
|
|
64578
|
-
position: exports.ControlPosition.NonFixed
|
|
64579
|
-
});
|
|
64580
64577
|
// Initialize state of map
|
|
64581
64578
|
// --> Initialize the authentication manager
|
|
64582
64579
|
var authManInit = _this.authentication ?
|
|
@@ -64603,14 +64600,18 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
64603
64600
|
_this._setAutoResize(_this.styleOptions.autoResize);
|
|
64604
64601
|
_this.map.showTileBoundaries = _this.styleOptions.showTileBoundaries;
|
|
64605
64602
|
_this.localizedStringsPromise = Localizer.getStrings(_this.styleOptions.language);
|
|
64606
|
-
|
|
64607
|
-
|
|
64608
|
-
|
|
64603
|
+
authManInit
|
|
64604
|
+
.then(function () { return _this.styles.initStyleset(); })
|
|
64605
|
+
.then(function (definitions) {
|
|
64609
64606
|
// Check that the map hasn't been removed for any reason.
|
|
64610
64607
|
// If so no need to finish styling the map.
|
|
64611
64608
|
if (_this.removed) {
|
|
64612
64609
|
return;
|
|
64613
64610
|
}
|
|
64611
|
+
// Add controls after initStyleset to prevent redundant initStyleset calls
|
|
64612
|
+
_this.controls.add(_this.copyrightControl, {
|
|
64613
|
+
position: exports.ControlPosition.NonFixed
|
|
64614
|
+
});
|
|
64614
64615
|
if (_this.authentication && !_this.authentication.getToken()) {
|
|
64615
64616
|
throw new Error("AuthenticationManager finished initializing, but no token is available");
|
|
64616
64617
|
}
|
package/dist/atlas-core.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.
|
|
@@ -65055,8 +65055,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
65055
65055
|
resolve(source);
|
|
65056
65056
|
}
|
|
65057
65057
|
else {
|
|
65058
|
-
// force source loading as same resolved source in different style will get cached and won't emit events
|
|
65059
|
-
source.load();
|
|
65060
65058
|
source.on('data', function sourceDataListener(event) {
|
|
65061
65059
|
if (event.sourceDataType == 'metadata') {
|
|
65062
65060
|
source.off('data', sourceDataListener);
|
|
@@ -72299,9 +72297,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
72299
72297
|
showLogo: _this.styleOptions.showLogo,
|
|
72300
72298
|
customAttribution: _this.styleOptions.customAttribution
|
|
72301
72299
|
});
|
|
72302
|
-
_this.controls.add(_this.copyrightControl, {
|
|
72303
|
-
position: exports.ControlPosition.NonFixed
|
|
72304
|
-
});
|
|
72305
72300
|
// Initialize state of map
|
|
72306
72301
|
// --> Initialize the authentication manager
|
|
72307
72302
|
var authManInit = _this.authentication ?
|
|
@@ -72328,14 +72323,18 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
72328
72323
|
_this._setAutoResize(_this.styleOptions.autoResize);
|
|
72329
72324
|
_this.map.showTileBoundaries = _this.styleOptions.showTileBoundaries;
|
|
72330
72325
|
_this.localizedStringsPromise = Localizer.getStrings(_this.styleOptions.language);
|
|
72331
|
-
|
|
72332
|
-
|
|
72333
|
-
|
|
72326
|
+
authManInit
|
|
72327
|
+
.then(function () { return _this.styles.initStyleset(); })
|
|
72328
|
+
.then(function (definitions) {
|
|
72334
72329
|
// Check that the map hasn't been removed for any reason.
|
|
72335
72330
|
// If so no need to finish styling the map.
|
|
72336
72331
|
if (_this.removed) {
|
|
72337
72332
|
return;
|
|
72338
72333
|
}
|
|
72334
|
+
// Add controls after initStyleset to prevent redundant initStyleset calls
|
|
72335
|
+
_this.controls.add(_this.copyrightControl, {
|
|
72336
|
+
position: exports.ControlPosition.NonFixed
|
|
72337
|
+
});
|
|
72339
72338
|
if (_this.authentication && !_this.authentication.getToken()) {
|
|
72340
72339
|
throw new Error("AuthenticationManager finished initializing, but no token is available");
|
|
72341
72340
|
}
|