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
|
@@ -265,7 +265,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
265
265
|
return Url;
|
|
266
266
|
}());
|
|
267
267
|
|
|
268
|
-
var version = "2.2.
|
|
268
|
+
var version = "2.2.6";
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -21238,9 +21238,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
21238
21238
|
showLogo: _this.styleOptions.showLogo,
|
|
21239
21239
|
customAttribution: _this.styleOptions.customAttribution
|
|
21240
21240
|
});
|
|
21241
|
-
_this.controls.add(_this.copyrightControl, {
|
|
21242
|
-
position: exports.ControlPosition.NonFixed
|
|
21243
|
-
});
|
|
21244
21241
|
// Initialize state of map
|
|
21245
21242
|
// --> Initialize the authentication manager
|
|
21246
21243
|
var authManInit = _this.authentication ?
|
|
@@ -21267,14 +21264,18 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
21267
21264
|
_this._setAutoResize(_this.styleOptions.autoResize);
|
|
21268
21265
|
_this.map.showTileBoundaries = _this.styleOptions.showTileBoundaries;
|
|
21269
21266
|
_this.localizedStringsPromise = Localizer.getStrings(_this.styleOptions.language);
|
|
21270
|
-
|
|
21271
|
-
|
|
21272
|
-
|
|
21267
|
+
authManInit
|
|
21268
|
+
.then(function () { return _this.styles.initStyleset(); })
|
|
21269
|
+
.then(function (definitions) {
|
|
21273
21270
|
// Check that the map hasn't been removed for any reason.
|
|
21274
21271
|
// If so no need to finish styling the map.
|
|
21275
21272
|
if (_this.removed) {
|
|
21276
21273
|
return;
|
|
21277
21274
|
}
|
|
21275
|
+
// Add controls after initStyleset to prevent redundant initStyleset calls
|
|
21276
|
+
_this.controls.add(_this.copyrightControl, {
|
|
21277
|
+
position: exports.ControlPosition.NonFixed
|
|
21278
|
+
});
|
|
21278
21279
|
if (_this.authentication && !_this.authentication.getToken()) {
|
|
21279
21280
|
throw new Error("AuthenticationManager finished initializing, but no token is available");
|
|
21280
21281
|
}
|
package/dist/atlas-core-bare.js
CHANGED
|
@@ -265,7 +265,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
265
265
|
return Url;
|
|
266
266
|
}());
|
|
267
267
|
|
|
268
|
-
var version = "2.2.
|
|
268
|
+
var version = "2.2.6";
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -21719,8 +21719,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
21719
21719
|
resolve(source);
|
|
21720
21720
|
}
|
|
21721
21721
|
else {
|
|
21722
|
-
// force source loading as same resolved source in different style will get cached and won't emit events
|
|
21723
|
-
source.load();
|
|
21724
21722
|
source.on('data', function sourceDataListener(event) {
|
|
21725
21723
|
if (event.sourceDataType == 'metadata') {
|
|
21726
21724
|
source.off('data', sourceDataListener);
|
|
@@ -28963,9 +28961,6 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28963
28961
|
showLogo: _this.styleOptions.showLogo,
|
|
28964
28962
|
customAttribution: _this.styleOptions.customAttribution
|
|
28965
28963
|
});
|
|
28966
|
-
_this.controls.add(_this.copyrightControl, {
|
|
28967
|
-
position: exports.ControlPosition.NonFixed
|
|
28968
|
-
});
|
|
28969
28964
|
// Initialize state of map
|
|
28970
28965
|
// --> Initialize the authentication manager
|
|
28971
28966
|
var authManInit = _this.authentication ?
|
|
@@ -28992,14 +28987,18 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
28992
28987
|
_this._setAutoResize(_this.styleOptions.autoResize);
|
|
28993
28988
|
_this.map.showTileBoundaries = _this.styleOptions.showTileBoundaries;
|
|
28994
28989
|
_this.localizedStringsPromise = Localizer.getStrings(_this.styleOptions.language);
|
|
28995
|
-
|
|
28996
|
-
|
|
28997
|
-
|
|
28990
|
+
authManInit
|
|
28991
|
+
.then(function () { return _this.styles.initStyleset(); })
|
|
28992
|
+
.then(function (definitions) {
|
|
28998
28993
|
// Check that the map hasn't been removed for any reason.
|
|
28999
28994
|
// If so no need to finish styling the map.
|
|
29000
28995
|
if (_this.removed) {
|
|
29001
28996
|
return;
|
|
29002
28997
|
}
|
|
28998
|
+
// Add controls after initStyleset to prevent redundant initStyleset calls
|
|
28999
|
+
_this.controls.add(_this.copyrightControl, {
|
|
29000
|
+
position: exports.ControlPosition.NonFixed
|
|
29001
|
+
});
|
|
29003
29002
|
if (_this.authentication && !_this.authentication.getToken()) {
|
|
29004
29003
|
throw new Error("AuthenticationManager finished initializing, but no token is available");
|
|
29005
29004
|
}
|