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.js
CHANGED
|
@@ -51797,7 +51797,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
51797
51797
|
* Contains real information about the available/supported locales.
|
|
51798
51798
|
*/
|
|
51799
51799
|
var localeIndex = {
|
|
51800
|
-
localizationsPath: "locs/mapcontrol/
|
|
51800
|
+
localizationsPath: "locs/mapcontrol/2025-11-05",
|
|
51801
51801
|
sensitiveUserRegions: ["il", "kr", "pk", "in", "cn", "ar", "bh", "eg", "jo", "sa", "kw", "om", "qa", "ma", "ae"],
|
|
51802
51802
|
locales: {
|
|
51803
51803
|
defaultLanguage: {
|
|
@@ -51813,37 +51813,49 @@ uniform ${precision} ${type} u_${name};
|
|
|
51813
51813
|
ar: {
|
|
51814
51814
|
defaultRegion: {
|
|
51815
51815
|
code: "ar",
|
|
51816
|
-
strings: "ar-
|
|
51816
|
+
strings: "ar-SA/resource.json"
|
|
51817
51817
|
}
|
|
51818
51818
|
},
|
|
51819
51819
|
bg: {
|
|
51820
51820
|
defaultRegion: {
|
|
51821
51821
|
code: "bg-BG",
|
|
51822
|
-
strings: "bg-
|
|
51822
|
+
strings: "bg-BG/resource.json"
|
|
51823
|
+
}
|
|
51824
|
+
},
|
|
51825
|
+
ca: {
|
|
51826
|
+
defaultRegion: {
|
|
51827
|
+
code: "ca-ES",
|
|
51828
|
+
strings: "ca-ES/resource.json"
|
|
51823
51829
|
}
|
|
51824
51830
|
},
|
|
51825
51831
|
cs: {
|
|
51826
51832
|
defaultRegion: {
|
|
51827
51833
|
code: "cs-CZ",
|
|
51828
|
-
strings: "cs-
|
|
51834
|
+
strings: "cs-CZ/resource.json"
|
|
51829
51835
|
}
|
|
51830
51836
|
},
|
|
51831
51837
|
da: {
|
|
51832
51838
|
defaultRegion: {
|
|
51833
51839
|
code: "da-DK",
|
|
51834
|
-
strings: "da-
|
|
51840
|
+
strings: "da-DK/resource.json"
|
|
51835
51841
|
}
|
|
51836
51842
|
},
|
|
51837
51843
|
de: {
|
|
51838
51844
|
defaultRegion: {
|
|
51839
51845
|
code: "de-DE",
|
|
51840
|
-
strings: "de-
|
|
51846
|
+
strings: "de-DE/resource.json"
|
|
51847
|
+
}
|
|
51848
|
+
},
|
|
51849
|
+
et: {
|
|
51850
|
+
defaultRegion: {
|
|
51851
|
+
code: "et-EE",
|
|
51852
|
+
strings: "et-EE/resource.json"
|
|
51841
51853
|
}
|
|
51842
51854
|
},
|
|
51843
51855
|
el: {
|
|
51844
51856
|
defaultRegion: {
|
|
51845
51857
|
code: "el-GR",
|
|
51846
|
-
strings: "el-
|
|
51858
|
+
strings: "el-GR/resource.json"
|
|
51847
51859
|
}
|
|
51848
51860
|
},
|
|
51849
51861
|
en: {
|
|
@@ -51871,123 +51883,199 @@ uniform ${precision} ${type} u_${name};
|
|
|
51871
51883
|
es: {
|
|
51872
51884
|
defaultRegion: {
|
|
51873
51885
|
code: "es-ES",
|
|
51874
|
-
strings: "es-
|
|
51886
|
+
strings: "es-ES/resource.json"
|
|
51875
51887
|
},
|
|
51876
51888
|
mx: {
|
|
51877
51889
|
code: "es-MX",
|
|
51878
|
-
strings: "es-
|
|
51890
|
+
strings: "es-MX/resource.json"
|
|
51891
|
+
}
|
|
51892
|
+
},
|
|
51893
|
+
eu: {
|
|
51894
|
+
defaultRegion: {
|
|
51895
|
+
code: "eu-ES",
|
|
51896
|
+
strings: "eu-ES/resource.json"
|
|
51879
51897
|
}
|
|
51880
51898
|
},
|
|
51881
51899
|
fi: {
|
|
51882
51900
|
defaultRegion: {
|
|
51883
51901
|
code: "fi-FI",
|
|
51884
|
-
strings: "fi-
|
|
51902
|
+
strings: "fi-FI/resource.json"
|
|
51885
51903
|
}
|
|
51886
51904
|
},
|
|
51887
51905
|
fr: {
|
|
51888
51906
|
defaultRegion: {
|
|
51889
51907
|
code: "fr-FR",
|
|
51890
|
-
strings: "fr-
|
|
51908
|
+
strings: "fr-FR/resource.json"
|
|
51909
|
+
}
|
|
51910
|
+
},
|
|
51911
|
+
gl: {
|
|
51912
|
+
defaultRegion: {
|
|
51913
|
+
code: "gl-ES",
|
|
51914
|
+
strings: "gl-ES/resource.json"
|
|
51915
|
+
}
|
|
51916
|
+
},
|
|
51917
|
+
he: {
|
|
51918
|
+
defaultRegion: {
|
|
51919
|
+
code: "he-IL",
|
|
51920
|
+
strings: "he-IL/resource.json"
|
|
51921
|
+
}
|
|
51922
|
+
},
|
|
51923
|
+
hi: {
|
|
51924
|
+
defaultRegion: {
|
|
51925
|
+
code: "hi-IN",
|
|
51926
|
+
strings: "hi-IN/resource.json"
|
|
51927
|
+
}
|
|
51928
|
+
},
|
|
51929
|
+
hr: {
|
|
51930
|
+
defaultRegion: {
|
|
51931
|
+
code: "hr-HR",
|
|
51932
|
+
strings: "hr-HR/resource.json"
|
|
51891
51933
|
}
|
|
51892
51934
|
},
|
|
51893
51935
|
hu: {
|
|
51894
51936
|
defaultRegion: {
|
|
51895
51937
|
code: "hu-HU",
|
|
51896
|
-
strings: "hu-
|
|
51938
|
+
strings: "hu-HU/resource.json"
|
|
51897
51939
|
}
|
|
51898
51940
|
},
|
|
51899
51941
|
id: {
|
|
51900
51942
|
defaultRegion: {
|
|
51901
51943
|
code: "id-ID",
|
|
51902
|
-
strings: "id-
|
|
51944
|
+
strings: "id-ID/resource.json"
|
|
51903
51945
|
}
|
|
51904
51946
|
},
|
|
51905
51947
|
it: {
|
|
51906
51948
|
defaultRegion: {
|
|
51907
51949
|
code: "it-IT",
|
|
51908
|
-
strings: "it-
|
|
51950
|
+
strings: "it-IT/resource.json"
|
|
51951
|
+
}
|
|
51952
|
+
},
|
|
51953
|
+
ja: {
|
|
51954
|
+
defaultRegion: {
|
|
51955
|
+
code: "ja-JP",
|
|
51956
|
+
strings: "ja-JP/resource.json"
|
|
51957
|
+
}
|
|
51958
|
+
},
|
|
51959
|
+
kk: {
|
|
51960
|
+
defaultRegion: {
|
|
51961
|
+
code: "kk-KZ",
|
|
51962
|
+
strings: "kk-KZ/resource.json"
|
|
51909
51963
|
}
|
|
51910
51964
|
},
|
|
51911
51965
|
ko: {
|
|
51912
51966
|
defaultRegion: {
|
|
51913
51967
|
code: "ko-KR",
|
|
51914
|
-
strings: "ko-
|
|
51968
|
+
strings: "ko-KR/resource.json"
|
|
51915
51969
|
}
|
|
51916
51970
|
},
|
|
51917
51971
|
lt: {
|
|
51918
51972
|
defaultRegion: {
|
|
51919
51973
|
code: "lt-LT",
|
|
51920
|
-
strings: "lt-
|
|
51974
|
+
strings: "lt-LT/resource.json"
|
|
51975
|
+
}
|
|
51976
|
+
},
|
|
51977
|
+
lv: {
|
|
51978
|
+
defaultRegion: {
|
|
51979
|
+
code: "lv-LV",
|
|
51980
|
+
strings: "lv-LV/resource.json"
|
|
51921
51981
|
}
|
|
51922
51982
|
},
|
|
51923
51983
|
ms: {
|
|
51924
51984
|
defaultRegion: {
|
|
51925
51985
|
code: "ms-MY",
|
|
51926
|
-
strings: "ms-
|
|
51986
|
+
strings: "ms-MY/resource.json"
|
|
51927
51987
|
}
|
|
51928
51988
|
},
|
|
51929
51989
|
nb: {
|
|
51930
51990
|
defaultRegion: {
|
|
51931
51991
|
code: "nb-NO",
|
|
51932
|
-
strings: "nb-
|
|
51992
|
+
strings: "nb-NO/resource.json"
|
|
51933
51993
|
}
|
|
51934
51994
|
},
|
|
51935
51995
|
nl: {
|
|
51936
51996
|
defaultRegion: {
|
|
51937
51997
|
code: "nl-NL",
|
|
51938
|
-
strings: "nl-
|
|
51998
|
+
strings: "nl-NL/resource.json"
|
|
51939
51999
|
}
|
|
51940
52000
|
},
|
|
51941
52001
|
pl: {
|
|
51942
52002
|
defaultRegion: {
|
|
51943
52003
|
code: "pl-PL",
|
|
51944
|
-
strings: "pl-
|
|
52004
|
+
strings: "pl-PL/resource.json"
|
|
51945
52005
|
}
|
|
51946
52006
|
},
|
|
51947
52007
|
pt: {
|
|
51948
52008
|
defaultRegion: {
|
|
51949
52009
|
code: "pt-PT",
|
|
51950
|
-
strings: "pt-
|
|
52010
|
+
strings: "pt-PT/resource.json"
|
|
51951
52011
|
},
|
|
51952
52012
|
br: {
|
|
51953
52013
|
code: "pt-BR",
|
|
51954
|
-
strings: "pt-
|
|
52014
|
+
strings: "pt-BR/resource.json"
|
|
52015
|
+
}
|
|
52016
|
+
},
|
|
52017
|
+
ro: {
|
|
52018
|
+
defaultRegion: {
|
|
52019
|
+
code: "ro-RO",
|
|
52020
|
+
strings: "ro-RO/resource.json"
|
|
51955
52021
|
}
|
|
51956
52022
|
},
|
|
51957
52023
|
ru: {
|
|
51958
52024
|
defaultRegion: {
|
|
51959
52025
|
code: "ru-RU",
|
|
51960
|
-
strings: "ru-
|
|
52026
|
+
strings: "ru-RU/resource.json"
|
|
51961
52027
|
}
|
|
51962
52028
|
},
|
|
51963
52029
|
sk: {
|
|
51964
52030
|
defaultRegion: {
|
|
51965
52031
|
code: "sk-SK",
|
|
51966
|
-
strings: "sk-
|
|
52032
|
+
strings: "sk-SK/resource.json"
|
|
51967
52033
|
}
|
|
51968
52034
|
},
|
|
51969
52035
|
sl: {
|
|
51970
52036
|
defaultRegion: {
|
|
51971
52037
|
code: "sl-SL",
|
|
51972
|
-
strings: "sl
|
|
52038
|
+
strings: "sl/resource.json"
|
|
52039
|
+
}
|
|
52040
|
+
},
|
|
52041
|
+
sr: {
|
|
52042
|
+
defaultRegion: {
|
|
52043
|
+
code: "sr-CYRL-RS",
|
|
52044
|
+
strings: "sr-CYRL-RS/resource.json"
|
|
52045
|
+
},
|
|
52046
|
+
latn: {
|
|
52047
|
+
code: "sr-LATN-RS",
|
|
52048
|
+
strings: "sr-LATN-RS/resource.json"
|
|
51973
52049
|
}
|
|
51974
52050
|
},
|
|
51975
52051
|
sv: {
|
|
51976
52052
|
defaultRegion: {
|
|
51977
52053
|
code: "sv-SE",
|
|
51978
|
-
strings: "sv-
|
|
52054
|
+
strings: "sv-SE/resource.json"
|
|
51979
52055
|
}
|
|
51980
52056
|
},
|
|
51981
52057
|
th: {
|
|
51982
52058
|
defaultRegion: {
|
|
51983
52059
|
code: "th-TH",
|
|
51984
|
-
strings: "th-
|
|
52060
|
+
strings: "th-TH/resource.json"
|
|
51985
52061
|
}
|
|
51986
52062
|
},
|
|
51987
52063
|
tr: {
|
|
51988
52064
|
defaultRegion: {
|
|
51989
52065
|
code: "tr-TR",
|
|
51990
|
-
strings: "tr-
|
|
52066
|
+
strings: "tr-TR/resource.json"
|
|
52067
|
+
}
|
|
52068
|
+
},
|
|
52069
|
+
uk: {
|
|
52070
|
+
defaultRegion: {
|
|
52071
|
+
code: "uk-UA",
|
|
52072
|
+
strings: "uk-UA/resource.json"
|
|
52073
|
+
}
|
|
52074
|
+
},
|
|
52075
|
+
vi: {
|
|
52076
|
+
defaultRegion: {
|
|
52077
|
+
code: "vi-VN",
|
|
52078
|
+
strings: "vi-VN/resource.json"
|
|
51991
52079
|
}
|
|
51992
52080
|
},
|
|
51993
52081
|
zh: {
|
|
@@ -52016,7 +52104,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
52016
52104
|
},
|
|
52017
52105
|
tw: {
|
|
52018
52106
|
code: "zh-Hant-TW",
|
|
52019
|
-
strings: "zh-
|
|
52107
|
+
strings: "zh-TW/resource.json"
|
|
52020
52108
|
}
|
|
52021
52109
|
}
|
|
52022
52110
|
}
|
|
@@ -52079,10 +52167,6 @@ uniform ${precision} ${type} u_${name};
|
|
|
52079
52167
|
* A localized version of `"Detour"`.
|
|
52080
52168
|
*/
|
|
52081
52169
|
this.Detour = "Detour";
|
|
52082
|
-
/**
|
|
52083
|
-
* A localized version of `"Dummy"`.
|
|
52084
|
-
*/
|
|
52085
|
-
this.Dummy = "Dummy";
|
|
52086
52170
|
}
|
|
52087
52171
|
return LocalizedStrings;
|
|
52088
52172
|
}());
|
|
@@ -52225,7 +52309,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
52225
52309
|
return UserAgent;
|
|
52226
52310
|
}());
|
|
52227
52311
|
|
|
52228
|
-
var version$3 = "3.7.
|
|
52312
|
+
var version$3 = "3.7.2";
|
|
52229
52313
|
|
|
52230
52314
|
/**
|
|
52231
52315
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -53191,6 +53275,7 @@ uniform ${precision} ${type} u_${name};
|
|
|
53191
53275
|
}
|
|
53192
53276
|
};
|
|
53193
53277
|
eventTarget.addEventListener("mouseover", positionTooltip);
|
|
53278
|
+
eventTarget.addEventListener("touchend", positionTooltip);
|
|
53194
53279
|
eventTarget.addEventListener("focusin", positionTooltip);
|
|
53195
53280
|
eventTarget.addEventListener("keydown", dismissTooltip);
|
|
53196
53281
|
};
|
|
@@ -57787,6 +57872,18 @@ uniform ${precision} ${type} u_${name};
|
|
|
57787
57872
|
styleOpsGrid.classList.add("hidden-accessible-element");
|
|
57788
57873
|
}
|
|
57789
57874
|
};
|
|
57875
|
+
var onStyleButtonClick = function () {
|
|
57876
|
+
if (container.classList.contains(StyleControl.Css.inUse)) {
|
|
57877
|
+
expandGrid(false);
|
|
57878
|
+
}
|
|
57879
|
+
else {
|
|
57880
|
+
expandGrid(true);
|
|
57881
|
+
// clicking on a reveal button should move the focus to the first styleOpsGrid button
|
|
57882
|
+
if (styleOpsGrid.firstElementChild) {
|
|
57883
|
+
styleOpsGrid.firstElementChild.focus();
|
|
57884
|
+
}
|
|
57885
|
+
}
|
|
57886
|
+
};
|
|
57790
57887
|
styleOpsGrid.classList.add(options ? options.position || 'top-right' : 'top-right');
|
|
57791
57888
|
container.addEventListener("mouseover", function () {
|
|
57792
57889
|
_this.hasMouse = true;
|
|
@@ -57826,17 +57923,12 @@ uniform ${precision} ${type} u_${name};
|
|
|
57826
57923
|
}
|
|
57827
57924
|
}
|
|
57828
57925
|
});
|
|
57926
|
+
currStyleButton.addEventListener("touchend", function (event) {
|
|
57927
|
+
event.preventDefault();
|
|
57928
|
+
onStyleButtonClick();
|
|
57929
|
+
});
|
|
57829
57930
|
currStyleButton.addEventListener("click", function (event) {
|
|
57830
|
-
|
|
57831
|
-
expandGrid(false);
|
|
57832
|
-
}
|
|
57833
|
-
else {
|
|
57834
|
-
expandGrid(true);
|
|
57835
|
-
// clicking on a reveal button should move the focus to the first styleOpsGrid button
|
|
57836
|
-
if (styleOpsGrid.firstElementChild) {
|
|
57837
|
-
styleOpsGrid.firstElementChild.focus();
|
|
57838
|
-
}
|
|
57839
|
-
}
|
|
57931
|
+
onStyleButtonClick();
|
|
57840
57932
|
});
|
|
57841
57933
|
if (options && StyleControl.InvertOrderPositions.includes(options.position)) {
|
|
57842
57934
|
container.appendChild(styleOpsGrid);
|
|
@@ -116755,9 +116847,10 @@ uniform ${precision} ${type} u_${name};
|
|
|
116755
116847
|
Map.prototype._rebuildStyle = function (diff) {
|
|
116756
116848
|
if (diff === void 0) { diff = true; }
|
|
116757
116849
|
return __awaiter(this, void 0, void 0, function () {
|
|
116850
|
+
var _this = this;
|
|
116758
116851
|
return __generator(this, function (_a) {
|
|
116759
116852
|
this.styles.setStyle(this.styleOptions, diff);
|
|
116760
|
-
this.imageSprite._restoreImages();
|
|
116853
|
+
this.events.addOnce("stylechanged", function () { return _this.imageSprite._restoreImages(); });
|
|
116761
116854
|
return [2 /*return*/];
|
|
116762
116855
|
});
|
|
116763
116856
|
});
|