azure-maps-control 3.6.1 → 3.7.1
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-min.js +1 -1
- package/dist/atlas-core-bare-snr.js +6 -8
- package/dist/atlas-core-bare.js +6 -8
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +6 -8
- package/dist/atlas-core.js +6 -8
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas-esm.js +6 -8
- package/dist/atlas-esm.min.js +1 -1
- package/dist/atlas.js +6 -8
- package/dist/atlas.min.js +1 -1
- package/package.json +3 -3
- package/typings/index.d.ts +4 -5
package/dist/atlas-esm.js
CHANGED
|
@@ -52073,6 +52073,10 @@ var LocalizedStrings = /** @class */ (function () {
|
|
|
52073
52073
|
* A localized version of `"Detour"`.
|
|
52074
52074
|
*/
|
|
52075
52075
|
this.Detour = "Detour";
|
|
52076
|
+
/**
|
|
52077
|
+
* A localized version of `"Dummy"`.
|
|
52078
|
+
*/
|
|
52079
|
+
this.Dummy = "Dummy";
|
|
52076
52080
|
}
|
|
52077
52081
|
return LocalizedStrings;
|
|
52078
52082
|
}());
|
|
@@ -52215,7 +52219,7 @@ var UserAgent = /** @class */ (function () {
|
|
|
52215
52219
|
return UserAgent;
|
|
52216
52220
|
}());
|
|
52217
52221
|
|
|
52218
|
-
var version$3 = "3.
|
|
52222
|
+
var version$3 = "3.7.1";
|
|
52219
52223
|
|
|
52220
52224
|
/**
|
|
52221
52225
|
* A helper class that provides methods for getting various forms of the map controls current version.
|
|
@@ -113440,7 +113444,6 @@ var CameraOptions = /** @class */ (function (_super) {
|
|
|
113440
113444
|
_this.pitch = 0;
|
|
113441
113445
|
/**
|
|
113442
113446
|
* The minimum zoom level that the map can be zoomed out to during the animation. Must be between 0 and 24, and less than or equal to `maxZoom`.
|
|
113443
|
-
* Setting `minZoom` below 1 may result in an empty map when the zoom level is less than 1.
|
|
113444
113447
|
* Default `1`.
|
|
113445
113448
|
* @default 1
|
|
113446
113449
|
*/
|
|
@@ -115768,9 +115771,7 @@ var Map$1 = /** @class */ (function (_super) {
|
|
|
115768
115771
|
_this.events.invoke("error", errorData);
|
|
115769
115772
|
});
|
|
115770
115773
|
// --> Set initial camera state of map
|
|
115771
|
-
_this.setCamera(__assign(__assign({
|
|
115772
|
-
// Default minZoom to ensure the map doesn't zoom out to unsupported zoom levels.
|
|
115773
|
-
minZoom: 1 }, options), { type: "jump", duration: 0 }));
|
|
115774
|
+
_this.setCamera(__assign(__assign({}, options), { type: "jump", duration: 0 }));
|
|
115774
115775
|
// Add delegates to map
|
|
115775
115776
|
{
|
|
115776
115777
|
_this.incidentDelegate = new IncidentServiceDelegate(_this);
|
|
@@ -115935,9 +115936,6 @@ var Map$1 = /** @class */ (function (_super) {
|
|
|
115935
115936
|
pitch: cameraOptions.pitch,
|
|
115936
115937
|
around: undefined
|
|
115937
115938
|
};
|
|
115938
|
-
if (cameraOptions.minZoom < 1) {
|
|
115939
|
-
console.warn("Setting minZoom below 1 may result in an empty map when the zoom level is less than 1.");
|
|
115940
|
-
}
|
|
115941
115939
|
this.map.setMinZoom(cameraOptions.minZoom);
|
|
115942
115940
|
this.map.setMaxZoom(cameraOptions.maxZoom);
|
|
115943
115941
|
if (cameraOptions.minPitch) {
|