azure-maps-control 2.3.4 → 2.3.5
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 +3 -3
- package/dist/atlas-core-bare.js +21 -20
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +3 -3
- package/dist/atlas-core.js +21 -20
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas.js +21 -20
- package/dist/atlas.min.js +1 -1
- package/package.json +1 -1
- package/typings/index.d.ts +2 -2
package/dist/atlas.js
CHANGED
|
@@ -43477,7 +43477,7 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
43477
43477
|
return Url;
|
|
43478
43478
|
}());
|
|
43479
43479
|
|
|
43480
|
-
var version = "2.3.
|
|
43480
|
+
var version = "2.3.5";
|
|
43481
43481
|
|
|
43482
43482
|
/**
|
|
43483
43483
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -69830,8 +69830,11 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
69830
69830
|
var domain = this.map.getServiceOptions().domain;
|
|
69831
69831
|
var urlOptions = {
|
|
69832
69832
|
domain: domain,
|
|
69833
|
-
path: "
|
|
69834
|
-
queryParams: __assign$4({ "api-version": "
|
|
69833
|
+
path: "reverseGeocode",
|
|
69834
|
+
queryParams: __assign$4({ "api-version": "2023-06-01", "coordinates": normalizeLongitude(options.position[0]) + "," + normalizeLatitude(options.position[1]) }, (options.style.view && { view: options.style.view })),
|
|
69835
|
+
headers: {
|
|
69836
|
+
"Accept-Language": options.style.language
|
|
69837
|
+
}
|
|
69835
69838
|
};
|
|
69836
69839
|
return new Url(((_a = this.map.authentication) === null || _a === void 0 ? void 0 : _a.signRequest(urlOptions)) || urlOptions).get();
|
|
69837
69840
|
};
|
|
@@ -71032,12 +71035,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
71032
71035
|
position: cam.center,
|
|
71033
71036
|
style: style
|
|
71034
71037
|
}).then(function (r) {
|
|
71038
|
+
var _a, _b, _c;
|
|
71035
71039
|
var info = {};
|
|
71036
|
-
if (r && r.
|
|
71037
|
-
if (r.
|
|
71038
|
-
var a = r.
|
|
71039
|
-
if (a.
|
|
71040
|
-
info.country = a.
|
|
71040
|
+
if (r && r.features && r.features.length > 0) {
|
|
71041
|
+
if ((_b = (_a = r.features[0]) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.address) {
|
|
71042
|
+
var a = r.features[0].properties.address;
|
|
71043
|
+
if (a.countryRegion) {
|
|
71044
|
+
info.country = a.countryRegion.name;
|
|
71041
71045
|
MapViewDescriptor._labelCache.cache(info.country, {
|
|
71042
71046
|
source: [],
|
|
71043
71047
|
labelType: "country",
|
|
@@ -71045,8 +71049,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
71045
71049
|
minZoom: 0
|
|
71046
71050
|
}, cam.center, style.language);
|
|
71047
71051
|
}
|
|
71048
|
-
if (a.
|
|
71049
|
-
info.state = a.
|
|
71052
|
+
if (a.adminDistricts) {
|
|
71053
|
+
info.state = (_c = a.adminDistricts[0]) === null || _c === void 0 ? void 0 : _c.shortName;
|
|
71050
71054
|
MapViewDescriptor._labelCache.cache(info.state, {
|
|
71051
71055
|
source: [],
|
|
71052
71056
|
labelType: "state",
|
|
@@ -71054,20 +71058,17 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
71054
71058
|
minZoom: 4
|
|
71055
71059
|
}, cam.center, style.language);
|
|
71056
71060
|
}
|
|
71057
|
-
if (a.
|
|
71058
|
-
info.city = a.
|
|
71059
|
-
MapViewDescriptor._labelCache.cache(info.
|
|
71061
|
+
if (a.locality) {
|
|
71062
|
+
info.city = a.locality;
|
|
71063
|
+
MapViewDescriptor._labelCache.cache(info.city, {
|
|
71060
71064
|
source: [],
|
|
71061
71065
|
labelType: "city",
|
|
71062
71066
|
radius: 1000,
|
|
71063
71067
|
minZoom: 10
|
|
71064
71068
|
}, cam.center, style.language);
|
|
71065
71069
|
}
|
|
71066
|
-
if (a.
|
|
71067
|
-
info.road = a.
|
|
71068
|
-
}
|
|
71069
|
-
else if (a.street) {
|
|
71070
|
-
info.road = a.street;
|
|
71070
|
+
if (a.addressLine) {
|
|
71071
|
+
info.road = a.addressLine;
|
|
71071
71072
|
}
|
|
71072
71073
|
}
|
|
71073
71074
|
}
|
|
@@ -81282,8 +81283,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
81282
81283
|
*/
|
|
81283
81284
|
_this.styleSet = undefined;
|
|
81284
81285
|
/**
|
|
81285
|
-
* Enable accessibility
|
|
81286
|
-
*
|
|
81286
|
+
* Enable the accessibility feature to provide screen reader support for users who have difficulty visualizing the web application.
|
|
81287
|
+
* This property is set to true by default.
|
|
81287
81288
|
* @default true
|
|
81288
81289
|
*/
|
|
81289
81290
|
_this.enableAccessibility = true;
|