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.
@@ -52079,6 +52079,10 @@ uniform ${precision} ${type} u_${name};
52079
52079
  * A localized version of `"Detour"`.
52080
52080
  */
52081
52081
  this.Detour = "Detour";
52082
+ /**
52083
+ * A localized version of `"Dummy"`.
52084
+ */
52085
+ this.Dummy = "Dummy";
52082
52086
  }
52083
52087
  return LocalizedStrings;
52084
52088
  }());
@@ -52221,7 +52225,7 @@ uniform ${precision} ${type} u_${name};
52221
52225
  return UserAgent;
52222
52226
  }());
52223
52227
 
52224
- var version = "3.6.1";
52228
+ var version = "3.7.1";
52225
52229
 
52226
52230
  /**
52227
52231
  * A helper class that provides methods for getting various forms of the map controls current version.
@@ -72237,7 +72241,6 @@ uniform ${precision} ${type} u_${name};
72237
72241
  _this.pitch = 0;
72238
72242
  /**
72239
72243
  * 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`.
72240
- * Setting `minZoom` below 1 may result in an empty map when the zoom level is less than 1.
72241
72244
  * Default `1`.
72242
72245
  * @default 1
72243
72246
  */
@@ -74554,9 +74557,7 @@ uniform ${precision} ${type} u_${name};
74554
74557
  _this.events.invoke("error", errorData);
74555
74558
  });
74556
74559
  // --> Set initial camera state of map
74557
- _this.setCamera(__assign(__assign({
74558
- // Default minZoom to ensure the map doesn't zoom out to unsupported zoom levels.
74559
- minZoom: 1 }, options), { type: "jump", duration: 0 }));
74560
+ _this.setCamera(__assign(__assign({}, options), { type: "jump", duration: 0 }));
74560
74561
  _this.flowDelegate = new FlowServiceDelegate(_this);
74561
74562
  _this.accessibleMapDelegate = new AccessibleMapDelegate(_this);
74562
74563
  _this.userInteractionDelegate = new UserInteractionDelegate(_this, options);
@@ -74706,9 +74707,6 @@ uniform ${precision} ${type} u_${name};
74706
74707
  pitch: cameraOptions.pitch,
74707
74708
  around: undefined
74708
74709
  };
74709
- if (cameraOptions.minZoom < 1) {
74710
- console.warn("Setting minZoom below 1 may result in an empty map when the zoom level is less than 1.");
74711
- }
74712
74710
  this.map.setMinZoom(cameraOptions.minZoom);
74713
74711
  this.map.setMaxZoom(cameraOptions.maxZoom);
74714
74712
  if (cameraOptions.minPitch) {
@@ -52079,6 +52079,10 @@ uniform ${precision} ${type} u_${name};
52079
52079
  * A localized version of `"Detour"`.
52080
52080
  */
52081
52081
  this.Detour = "Detour";
52082
+ /**
52083
+ * A localized version of `"Dummy"`.
52084
+ */
52085
+ this.Dummy = "Dummy";
52082
52086
  }
52083
52087
  return LocalizedStrings;
52084
52088
  }());
@@ -52221,7 +52225,7 @@ uniform ${precision} ${type} u_${name};
52221
52225
  return UserAgent;
52222
52226
  }());
52223
52227
 
52224
- var version$2 = "3.6.1";
52228
+ var version$2 = "3.7.1";
52225
52229
 
52226
52230
  /**
52227
52231
  * A helper class that provides methods for getting various forms of the map controls current version.
@@ -95898,7 +95902,6 @@ uniform ${precision} ${type} u_${name};
95898
95902
  _this.pitch = 0;
95899
95903
  /**
95900
95904
  * 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`.
95901
- * Setting `minZoom` below 1 may result in an empty map when the zoom level is less than 1.
95902
95905
  * Default `1`.
95903
95906
  * @default 1
95904
95907
  */
@@ -98219,9 +98222,7 @@ uniform ${precision} ${type} u_${name};
98219
98222
  _this.events.invoke("error", errorData);
98220
98223
  });
98221
98224
  // --> Set initial camera state of map
98222
- _this.setCamera(__assign(__assign({
98223
- // Default minZoom to ensure the map doesn't zoom out to unsupported zoom levels.
98224
- minZoom: 1 }, options), { type: "jump", duration: 0 }));
98225
+ _this.setCamera(__assign(__assign({}, options), { type: "jump", duration: 0 }));
98225
98226
  // Add delegates to map
98226
98227
  {
98227
98228
  _this.incidentDelegate = new IncidentServiceDelegate(_this);
@@ -98373,9 +98374,6 @@ uniform ${precision} ${type} u_${name};
98373
98374
  pitch: cameraOptions.pitch,
98374
98375
  around: undefined
98375
98376
  };
98376
- if (cameraOptions.minZoom < 1) {
98377
- console.warn("Setting minZoom below 1 may result in an empty map when the zoom level is less than 1.");
98378
- }
98379
98377
  this.map.setMinZoom(cameraOptions.minZoom);
98380
98378
  this.map.setMaxZoom(cameraOptions.maxZoom);
98381
98379
  if (cameraOptions.minPitch) {