azure-maps-control 3.7.1 → 3.7.2
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/ReadMe.md +0 -4
- package/dist/atlas-core-bare-snr-min.js +1 -1
- package/dist/atlas-core-bare-snr.js +138 -45
- package/dist/atlas-core-bare.js +138 -45
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +138 -45
- package/dist/atlas-core.js +138 -45
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas-esm.js +138 -45
- package/dist/atlas-esm.min.js +1 -1
- package/dist/atlas.js +138 -45
- package/dist/atlas.min.js +1 -1
- package/package.json +3 -3
- package/typings/index.d.ts +1 -1
package/dist/atlas-esm.js
CHANGED
|
@@ -51791,7 +51791,7 @@ var CultureCode = /** @class */ (function () {
|
|
|
51791
51791
|
* Contains real information about the available/supported locales.
|
|
51792
51792
|
*/
|
|
51793
51793
|
var localeIndex = {
|
|
51794
|
-
localizationsPath: "locs/mapcontrol/
|
|
51794
|
+
localizationsPath: "locs/mapcontrol/2025-11-05",
|
|
51795
51795
|
sensitiveUserRegions: ["il", "kr", "pk", "in", "cn", "ar", "bh", "eg", "jo", "sa", "kw", "om", "qa", "ma", "ae"],
|
|
51796
51796
|
locales: {
|
|
51797
51797
|
defaultLanguage: {
|
|
@@ -51807,37 +51807,49 @@ var localeIndex = {
|
|
|
51807
51807
|
ar: {
|
|
51808
51808
|
defaultRegion: {
|
|
51809
51809
|
code: "ar",
|
|
51810
|
-
strings: "ar-
|
|
51810
|
+
strings: "ar-SA/resource.json"
|
|
51811
51811
|
}
|
|
51812
51812
|
},
|
|
51813
51813
|
bg: {
|
|
51814
51814
|
defaultRegion: {
|
|
51815
51815
|
code: "bg-BG",
|
|
51816
|
-
strings: "bg-
|
|
51816
|
+
strings: "bg-BG/resource.json"
|
|
51817
|
+
}
|
|
51818
|
+
},
|
|
51819
|
+
ca: {
|
|
51820
|
+
defaultRegion: {
|
|
51821
|
+
code: "ca-ES",
|
|
51822
|
+
strings: "ca-ES/resource.json"
|
|
51817
51823
|
}
|
|
51818
51824
|
},
|
|
51819
51825
|
cs: {
|
|
51820
51826
|
defaultRegion: {
|
|
51821
51827
|
code: "cs-CZ",
|
|
51822
|
-
strings: "cs-
|
|
51828
|
+
strings: "cs-CZ/resource.json"
|
|
51823
51829
|
}
|
|
51824
51830
|
},
|
|
51825
51831
|
da: {
|
|
51826
51832
|
defaultRegion: {
|
|
51827
51833
|
code: "da-DK",
|
|
51828
|
-
strings: "da-
|
|
51834
|
+
strings: "da-DK/resource.json"
|
|
51829
51835
|
}
|
|
51830
51836
|
},
|
|
51831
51837
|
de: {
|
|
51832
51838
|
defaultRegion: {
|
|
51833
51839
|
code: "de-DE",
|
|
51834
|
-
strings: "de-
|
|
51840
|
+
strings: "de-DE/resource.json"
|
|
51841
|
+
}
|
|
51842
|
+
},
|
|
51843
|
+
et: {
|
|
51844
|
+
defaultRegion: {
|
|
51845
|
+
code: "et-EE",
|
|
51846
|
+
strings: "et-EE/resource.json"
|
|
51835
51847
|
}
|
|
51836
51848
|
},
|
|
51837
51849
|
el: {
|
|
51838
51850
|
defaultRegion: {
|
|
51839
51851
|
code: "el-GR",
|
|
51840
|
-
strings: "el-
|
|
51852
|
+
strings: "el-GR/resource.json"
|
|
51841
51853
|
}
|
|
51842
51854
|
},
|
|
51843
51855
|
en: {
|
|
@@ -51865,123 +51877,199 @@ var localeIndex = {
|
|
|
51865
51877
|
es: {
|
|
51866
51878
|
defaultRegion: {
|
|
51867
51879
|
code: "es-ES",
|
|
51868
|
-
strings: "es-
|
|
51880
|
+
strings: "es-ES/resource.json"
|
|
51869
51881
|
},
|
|
51870
51882
|
mx: {
|
|
51871
51883
|
code: "es-MX",
|
|
51872
|
-
strings: "es-
|
|
51884
|
+
strings: "es-MX/resource.json"
|
|
51885
|
+
}
|
|
51886
|
+
},
|
|
51887
|
+
eu: {
|
|
51888
|
+
defaultRegion: {
|
|
51889
|
+
code: "eu-ES",
|
|
51890
|
+
strings: "eu-ES/resource.json"
|
|
51873
51891
|
}
|
|
51874
51892
|
},
|
|
51875
51893
|
fi: {
|
|
51876
51894
|
defaultRegion: {
|
|
51877
51895
|
code: "fi-FI",
|
|
51878
|
-
strings: "fi-
|
|
51896
|
+
strings: "fi-FI/resource.json"
|
|
51879
51897
|
}
|
|
51880
51898
|
},
|
|
51881
51899
|
fr: {
|
|
51882
51900
|
defaultRegion: {
|
|
51883
51901
|
code: "fr-FR",
|
|
51884
|
-
strings: "fr-
|
|
51902
|
+
strings: "fr-FR/resource.json"
|
|
51903
|
+
}
|
|
51904
|
+
},
|
|
51905
|
+
gl: {
|
|
51906
|
+
defaultRegion: {
|
|
51907
|
+
code: "gl-ES",
|
|
51908
|
+
strings: "gl-ES/resource.json"
|
|
51909
|
+
}
|
|
51910
|
+
},
|
|
51911
|
+
he: {
|
|
51912
|
+
defaultRegion: {
|
|
51913
|
+
code: "he-IL",
|
|
51914
|
+
strings: "he-IL/resource.json"
|
|
51915
|
+
}
|
|
51916
|
+
},
|
|
51917
|
+
hi: {
|
|
51918
|
+
defaultRegion: {
|
|
51919
|
+
code: "hi-IN",
|
|
51920
|
+
strings: "hi-IN/resource.json"
|
|
51921
|
+
}
|
|
51922
|
+
},
|
|
51923
|
+
hr: {
|
|
51924
|
+
defaultRegion: {
|
|
51925
|
+
code: "hr-HR",
|
|
51926
|
+
strings: "hr-HR/resource.json"
|
|
51885
51927
|
}
|
|
51886
51928
|
},
|
|
51887
51929
|
hu: {
|
|
51888
51930
|
defaultRegion: {
|
|
51889
51931
|
code: "hu-HU",
|
|
51890
|
-
strings: "hu-
|
|
51932
|
+
strings: "hu-HU/resource.json"
|
|
51891
51933
|
}
|
|
51892
51934
|
},
|
|
51893
51935
|
id: {
|
|
51894
51936
|
defaultRegion: {
|
|
51895
51937
|
code: "id-ID",
|
|
51896
|
-
strings: "id-
|
|
51938
|
+
strings: "id-ID/resource.json"
|
|
51897
51939
|
}
|
|
51898
51940
|
},
|
|
51899
51941
|
it: {
|
|
51900
51942
|
defaultRegion: {
|
|
51901
51943
|
code: "it-IT",
|
|
51902
|
-
strings: "it-
|
|
51944
|
+
strings: "it-IT/resource.json"
|
|
51945
|
+
}
|
|
51946
|
+
},
|
|
51947
|
+
ja: {
|
|
51948
|
+
defaultRegion: {
|
|
51949
|
+
code: "ja-JP",
|
|
51950
|
+
strings: "ja-JP/resource.json"
|
|
51951
|
+
}
|
|
51952
|
+
},
|
|
51953
|
+
kk: {
|
|
51954
|
+
defaultRegion: {
|
|
51955
|
+
code: "kk-KZ",
|
|
51956
|
+
strings: "kk-KZ/resource.json"
|
|
51903
51957
|
}
|
|
51904
51958
|
},
|
|
51905
51959
|
ko: {
|
|
51906
51960
|
defaultRegion: {
|
|
51907
51961
|
code: "ko-KR",
|
|
51908
|
-
strings: "ko-
|
|
51962
|
+
strings: "ko-KR/resource.json"
|
|
51909
51963
|
}
|
|
51910
51964
|
},
|
|
51911
51965
|
lt: {
|
|
51912
51966
|
defaultRegion: {
|
|
51913
51967
|
code: "lt-LT",
|
|
51914
|
-
strings: "lt-
|
|
51968
|
+
strings: "lt-LT/resource.json"
|
|
51969
|
+
}
|
|
51970
|
+
},
|
|
51971
|
+
lv: {
|
|
51972
|
+
defaultRegion: {
|
|
51973
|
+
code: "lv-LV",
|
|
51974
|
+
strings: "lv-LV/resource.json"
|
|
51915
51975
|
}
|
|
51916
51976
|
},
|
|
51917
51977
|
ms: {
|
|
51918
51978
|
defaultRegion: {
|
|
51919
51979
|
code: "ms-MY",
|
|
51920
|
-
strings: "ms-
|
|
51980
|
+
strings: "ms-MY/resource.json"
|
|
51921
51981
|
}
|
|
51922
51982
|
},
|
|
51923
51983
|
nb: {
|
|
51924
51984
|
defaultRegion: {
|
|
51925
51985
|
code: "nb-NO",
|
|
51926
|
-
strings: "nb-
|
|
51986
|
+
strings: "nb-NO/resource.json"
|
|
51927
51987
|
}
|
|
51928
51988
|
},
|
|
51929
51989
|
nl: {
|
|
51930
51990
|
defaultRegion: {
|
|
51931
51991
|
code: "nl-NL",
|
|
51932
|
-
strings: "nl-
|
|
51992
|
+
strings: "nl-NL/resource.json"
|
|
51933
51993
|
}
|
|
51934
51994
|
},
|
|
51935
51995
|
pl: {
|
|
51936
51996
|
defaultRegion: {
|
|
51937
51997
|
code: "pl-PL",
|
|
51938
|
-
strings: "pl-
|
|
51998
|
+
strings: "pl-PL/resource.json"
|
|
51939
51999
|
}
|
|
51940
52000
|
},
|
|
51941
52001
|
pt: {
|
|
51942
52002
|
defaultRegion: {
|
|
51943
52003
|
code: "pt-PT",
|
|
51944
|
-
strings: "pt-
|
|
52004
|
+
strings: "pt-PT/resource.json"
|
|
51945
52005
|
},
|
|
51946
52006
|
br: {
|
|
51947
52007
|
code: "pt-BR",
|
|
51948
|
-
strings: "pt-
|
|
52008
|
+
strings: "pt-BR/resource.json"
|
|
52009
|
+
}
|
|
52010
|
+
},
|
|
52011
|
+
ro: {
|
|
52012
|
+
defaultRegion: {
|
|
52013
|
+
code: "ro-RO",
|
|
52014
|
+
strings: "ro-RO/resource.json"
|
|
51949
52015
|
}
|
|
51950
52016
|
},
|
|
51951
52017
|
ru: {
|
|
51952
52018
|
defaultRegion: {
|
|
51953
52019
|
code: "ru-RU",
|
|
51954
|
-
strings: "ru-
|
|
52020
|
+
strings: "ru-RU/resource.json"
|
|
51955
52021
|
}
|
|
51956
52022
|
},
|
|
51957
52023
|
sk: {
|
|
51958
52024
|
defaultRegion: {
|
|
51959
52025
|
code: "sk-SK",
|
|
51960
|
-
strings: "sk-
|
|
52026
|
+
strings: "sk-SK/resource.json"
|
|
51961
52027
|
}
|
|
51962
52028
|
},
|
|
51963
52029
|
sl: {
|
|
51964
52030
|
defaultRegion: {
|
|
51965
52031
|
code: "sl-SL",
|
|
51966
|
-
strings: "sl
|
|
52032
|
+
strings: "sl/resource.json"
|
|
52033
|
+
}
|
|
52034
|
+
},
|
|
52035
|
+
sr: {
|
|
52036
|
+
defaultRegion: {
|
|
52037
|
+
code: "sr-CYRL-RS",
|
|
52038
|
+
strings: "sr-CYRL-RS/resource.json"
|
|
52039
|
+
},
|
|
52040
|
+
latn: {
|
|
52041
|
+
code: "sr-LATN-RS",
|
|
52042
|
+
strings: "sr-LATN-RS/resource.json"
|
|
51967
52043
|
}
|
|
51968
52044
|
},
|
|
51969
52045
|
sv: {
|
|
51970
52046
|
defaultRegion: {
|
|
51971
52047
|
code: "sv-SE",
|
|
51972
|
-
strings: "sv-
|
|
52048
|
+
strings: "sv-SE/resource.json"
|
|
51973
52049
|
}
|
|
51974
52050
|
},
|
|
51975
52051
|
th: {
|
|
51976
52052
|
defaultRegion: {
|
|
51977
52053
|
code: "th-TH",
|
|
51978
|
-
strings: "th-
|
|
52054
|
+
strings: "th-TH/resource.json"
|
|
51979
52055
|
}
|
|
51980
52056
|
},
|
|
51981
52057
|
tr: {
|
|
51982
52058
|
defaultRegion: {
|
|
51983
52059
|
code: "tr-TR",
|
|
51984
|
-
strings: "tr-
|
|
52060
|
+
strings: "tr-TR/resource.json"
|
|
52061
|
+
}
|
|
52062
|
+
},
|
|
52063
|
+
uk: {
|
|
52064
|
+
defaultRegion: {
|
|
52065
|
+
code: "uk-UA",
|
|
52066
|
+
strings: "uk-UA/resource.json"
|
|
52067
|
+
}
|
|
52068
|
+
},
|
|
52069
|
+
vi: {
|
|
52070
|
+
defaultRegion: {
|
|
52071
|
+
code: "vi-VN",
|
|
52072
|
+
strings: "vi-VN/resource.json"
|
|
51985
52073
|
}
|
|
51986
52074
|
},
|
|
51987
52075
|
zh: {
|
|
@@ -52010,7 +52098,7 @@ var localeIndex = {
|
|
|
52010
52098
|
},
|
|
52011
52099
|
tw: {
|
|
52012
52100
|
code: "zh-Hant-TW",
|
|
52013
|
-
strings: "zh-
|
|
52101
|
+
strings: "zh-TW/resource.json"
|
|
52014
52102
|
}
|
|
52015
52103
|
}
|
|
52016
52104
|
}
|
|
@@ -52073,10 +52161,6 @@ var LocalizedStrings = /** @class */ (function () {
|
|
|
52073
52161
|
* A localized version of `"Detour"`.
|
|
52074
52162
|
*/
|
|
52075
52163
|
this.Detour = "Detour";
|
|
52076
|
-
/**
|
|
52077
|
-
* A localized version of `"Dummy"`.
|
|
52078
|
-
*/
|
|
52079
|
-
this.Dummy = "Dummy";
|
|
52080
52164
|
}
|
|
52081
52165
|
return LocalizedStrings;
|
|
52082
52166
|
}());
|
|
@@ -52219,7 +52303,7 @@ var UserAgent = /** @class */ (function () {
|
|
|
52219
52303
|
return UserAgent;
|
|
52220
52304
|
}());
|
|
52221
52305
|
|
|
52222
|
-
var version$3 = "3.7.
|
|
52306
|
+
var version$3 = "3.7.2";
|
|
52223
52307
|
|
|
52224
52308
|
/**
|
|
52225
52309
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -53185,6 +53269,7 @@ var positionTooltip = function (tooltip, eventTarget, forceAbsolute) {
|
|
|
53185
53269
|
}
|
|
53186
53270
|
};
|
|
53187
53271
|
eventTarget.addEventListener("mouseover", positionTooltip);
|
|
53272
|
+
eventTarget.addEventListener("touchend", positionTooltip);
|
|
53188
53273
|
eventTarget.addEventListener("focusin", positionTooltip);
|
|
53189
53274
|
eventTarget.addEventListener("keydown", dismissTooltip);
|
|
53190
53275
|
};
|
|
@@ -57781,6 +57866,18 @@ var StyleControl = /** @class */ (function (_super) {
|
|
|
57781
57866
|
styleOpsGrid.classList.add("hidden-accessible-element");
|
|
57782
57867
|
}
|
|
57783
57868
|
};
|
|
57869
|
+
var onStyleButtonClick = function () {
|
|
57870
|
+
if (container.classList.contains(StyleControl.Css.inUse)) {
|
|
57871
|
+
expandGrid(false);
|
|
57872
|
+
}
|
|
57873
|
+
else {
|
|
57874
|
+
expandGrid(true);
|
|
57875
|
+
// clicking on a reveal button should move the focus to the first styleOpsGrid button
|
|
57876
|
+
if (styleOpsGrid.firstElementChild) {
|
|
57877
|
+
styleOpsGrid.firstElementChild.focus();
|
|
57878
|
+
}
|
|
57879
|
+
}
|
|
57880
|
+
};
|
|
57784
57881
|
styleOpsGrid.classList.add(options ? options.position || 'top-right' : 'top-right');
|
|
57785
57882
|
container.addEventListener("mouseover", function () {
|
|
57786
57883
|
_this.hasMouse = true;
|
|
@@ -57820,17 +57917,12 @@ var StyleControl = /** @class */ (function (_super) {
|
|
|
57820
57917
|
}
|
|
57821
57918
|
}
|
|
57822
57919
|
});
|
|
57920
|
+
currStyleButton.addEventListener("touchend", function (event) {
|
|
57921
|
+
event.preventDefault();
|
|
57922
|
+
onStyleButtonClick();
|
|
57923
|
+
});
|
|
57823
57924
|
currStyleButton.addEventListener("click", function (event) {
|
|
57824
|
-
|
|
57825
|
-
expandGrid(false);
|
|
57826
|
-
}
|
|
57827
|
-
else {
|
|
57828
|
-
expandGrid(true);
|
|
57829
|
-
// clicking on a reveal button should move the focus to the first styleOpsGrid button
|
|
57830
|
-
if (styleOpsGrid.firstElementChild) {
|
|
57831
|
-
styleOpsGrid.firstElementChild.focus();
|
|
57832
|
-
}
|
|
57833
|
-
}
|
|
57925
|
+
onStyleButtonClick();
|
|
57834
57926
|
});
|
|
57835
57927
|
if (options && StyleControl.InvertOrderPositions.includes(options.position)) {
|
|
57836
57928
|
container.appendChild(styleOpsGrid);
|
|
@@ -116749,9 +116841,10 @@ var Map$1 = /** @class */ (function (_super) {
|
|
|
116749
116841
|
Map.prototype._rebuildStyle = function (diff) {
|
|
116750
116842
|
if (diff === void 0) { diff = true; }
|
|
116751
116843
|
return __awaiter(this, void 0, void 0, function () {
|
|
116844
|
+
var _this = this;
|
|
116752
116845
|
return __generator(this, function (_a) {
|
|
116753
116846
|
this.styles.setStyle(this.styleOptions, diff);
|
|
116754
|
-
this.imageSprite._restoreImages();
|
|
116847
|
+
this.events.addOnce("stylechanged", function () { return _this.imageSprite._restoreImages(); });
|
|
116755
116848
|
return [2 /*return*/];
|
|
116756
116849
|
});
|
|
116757
116850
|
});
|