azure-maps-control 3.6.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "azure-maps-control",
3
3
  "author": "Microsoft Corporation",
4
- "version": "3.6.1",
4
+ "version": "3.7.2",
5
5
  "description": "Map SDK for Azure Maps",
6
6
  "keywords": [
7
7
  "azure",
@@ -604,7 +604,7 @@ declare namespace atlas {
604
604
  /**
605
605
  * Implements control interface and provides support for automatic styling based on the map style.
606
606
  */
607
- export abstract class ControlBase<T = any> extends internal.EventEmitter<T> implements Control {
607
+ export abstract class ControlBase<T extends internal.EventArgs = any> extends internal.EventEmitter<T> implements Control {
608
608
  /**
609
609
  * Initialization method for the control which is called when added to the map.
610
610
  * @param map The map that the control will be added to.
@@ -4102,7 +4102,6 @@ declare namespace atlas {
4102
4102
  pitch?: number;
4103
4103
  /**
4104
4104
  * 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`.
4105
- * Setting `minZoom` below 1 may result in an empty map when the zoom level is less than 1.
4106
4105
  * `default 1`
4107
4106
  * @default 1
4108
4107
  */
@@ -5182,8 +5181,8 @@ declare namespace atlas {
5182
5181
  */
5183
5182
  add (eventType: "styleimagemissing", callback: (e: string) => void): void;
5184
5183
  /**
5185
- * Adds a wheel event to the map.
5186
- * @param eventType The wheel event name.
5184
+ * Adds a style changed event to the map.
5185
+ * @param eventType The style changed event name.
5187
5186
  * @param callback The event handler callback.
5188
5187
  */
5189
5188
  add (eventType: "stylechanged", callback: (e: StyleChangedEvent) => void): void;
@@ -5337,8 +5336,8 @@ declare namespace atlas {
5337
5336
  */
5338
5337
  addOnce (eventType: "styleimagemissing", callback: (e: string) => void): void;
5339
5338
  /**
5340
- * Adds a wheel event to the map.
5341
- * @param eventType The wheel event name.
5339
+ * Adds a style changed event to the map.
5340
+ * @param eventType The style changed event name.
5342
5341
  * @param callback The event handler callback.
5343
5342
  */
5344
5343
  addOnce (eventType: "stylechanged", callback: (e: StyleChangedEvent) => void): void;