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
|
@@ -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.3.
|
|
268
|
+
var version = "2.3.5";
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -20185,8 +20185,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
20185
20185
|
*/
|
|
20186
20186
|
_this.styleSet = undefined;
|
|
20187
20187
|
/**
|
|
20188
|
-
* Enable accessibility
|
|
20189
|
-
*
|
|
20188
|
+
* Enable the accessibility feature to provide screen reader support for users who have difficulty visualizing the web application.
|
|
20189
|
+
* This property is set to true by default.
|
|
20190
20190
|
* @default true
|
|
20191
20191
|
*/
|
|
20192
20192
|
_this.enableAccessibility = true;
|
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.3.
|
|
268
|
+
var version = "2.3.5";
|
|
269
269
|
|
|
270
270
|
/**
|
|
271
271
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -16455,8 +16455,11 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
16455
16455
|
var domain = this.map.getServiceOptions().domain;
|
|
16456
16456
|
var urlOptions = {
|
|
16457
16457
|
domain: domain,
|
|
16458
|
-
path: "
|
|
16459
|
-
queryParams: __assign$4({ "api-version": "
|
|
16458
|
+
path: "reverseGeocode",
|
|
16459
|
+
queryParams: __assign$4({ "api-version": "2023-06-01", "coordinates": normalizeLongitude(options.position[0]) + "," + normalizeLatitude(options.position[1]) }, (options.style.view && { view: options.style.view })),
|
|
16460
|
+
headers: {
|
|
16461
|
+
"Accept-Language": options.style.language
|
|
16462
|
+
}
|
|
16460
16463
|
};
|
|
16461
16464
|
return new Url(((_a = this.map.authentication) === null || _a === void 0 ? void 0 : _a.signRequest(urlOptions)) || urlOptions).get();
|
|
16462
16465
|
};
|
|
@@ -17657,12 +17660,13 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17657
17660
|
position: cam.center,
|
|
17658
17661
|
style: style
|
|
17659
17662
|
}).then(function (r) {
|
|
17663
|
+
var _a, _b, _c;
|
|
17660
17664
|
var info = {};
|
|
17661
|
-
if (r && r.
|
|
17662
|
-
if (r.
|
|
17663
|
-
var a = r.
|
|
17664
|
-
if (a.
|
|
17665
|
-
info.country = a.
|
|
17665
|
+
if (r && r.features && r.features.length > 0) {
|
|
17666
|
+
if ((_b = (_a = r.features[0]) === null || _a === void 0 ? void 0 : _a.properties) === null || _b === void 0 ? void 0 : _b.address) {
|
|
17667
|
+
var a = r.features[0].properties.address;
|
|
17668
|
+
if (a.countryRegion) {
|
|
17669
|
+
info.country = a.countryRegion.name;
|
|
17666
17670
|
MapViewDescriptor._labelCache.cache(info.country, {
|
|
17667
17671
|
source: [],
|
|
17668
17672
|
labelType: "country",
|
|
@@ -17670,8 +17674,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17670
17674
|
minZoom: 0
|
|
17671
17675
|
}, cam.center, style.language);
|
|
17672
17676
|
}
|
|
17673
|
-
if (a.
|
|
17674
|
-
info.state = a.
|
|
17677
|
+
if (a.adminDistricts) {
|
|
17678
|
+
info.state = (_c = a.adminDistricts[0]) === null || _c === void 0 ? void 0 : _c.shortName;
|
|
17675
17679
|
MapViewDescriptor._labelCache.cache(info.state, {
|
|
17676
17680
|
source: [],
|
|
17677
17681
|
labelType: "state",
|
|
@@ -17679,20 +17683,17 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
17679
17683
|
minZoom: 4
|
|
17680
17684
|
}, cam.center, style.language);
|
|
17681
17685
|
}
|
|
17682
|
-
if (a.
|
|
17683
|
-
info.city = a.
|
|
17684
|
-
MapViewDescriptor._labelCache.cache(info.
|
|
17686
|
+
if (a.locality) {
|
|
17687
|
+
info.city = a.locality;
|
|
17688
|
+
MapViewDescriptor._labelCache.cache(info.city, {
|
|
17685
17689
|
source: [],
|
|
17686
17690
|
labelType: "city",
|
|
17687
17691
|
radius: 1000,
|
|
17688
17692
|
minZoom: 10
|
|
17689
17693
|
}, cam.center, style.language);
|
|
17690
17694
|
}
|
|
17691
|
-
if (a.
|
|
17692
|
-
info.road = a.
|
|
17693
|
-
}
|
|
17694
|
-
else if (a.street) {
|
|
17695
|
-
info.road = a.street;
|
|
17695
|
+
if (a.addressLine) {
|
|
17696
|
+
info.road = a.addressLine;
|
|
17696
17697
|
}
|
|
17697
17698
|
}
|
|
17698
17699
|
}
|
|
@@ -27907,8 +27908,8 @@ EFFET JURIDIQUE. Le présent contrat décrit certains droits juridiques. Vous po
|
|
|
27907
27908
|
*/
|
|
27908
27909
|
_this.styleSet = undefined;
|
|
27909
27910
|
/**
|
|
27910
|
-
* Enable accessibility
|
|
27911
|
-
*
|
|
27911
|
+
* Enable the accessibility feature to provide screen reader support for users who have difficulty visualizing the web application.
|
|
27912
|
+
* This property is set to true by default.
|
|
27912
27913
|
* @default true
|
|
27913
27914
|
*/
|
|
27914
27915
|
_this.enableAccessibility = true;
|