azure-maps-control 2.2.6 → 2.3.0

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": "2.2.6",
4
+ "version": "2.3.0",
5
5
  "description": "Map SDK for Azure Maps",
6
6
  "keywords": [
7
7
  "azure",
@@ -36,6 +36,7 @@
36
36
  "devDependencies": {
37
37
  "@mapbox/mapbox-gl-rtl-text": "^0.2.3",
38
38
  "@microsoft/applicationinsights-web": "^2.5.9",
39
+ "@testing-library/dom": "^9.3.0",
39
40
  "@turf/intersect": "^6.3.0",
40
41
  "@types/jest": "^27.5.1",
41
42
  "@types/jwt-decode": "^2.2.0",
@@ -47,7 +48,7 @@
47
48
  "@typescript-eslint/parser": "^5.33.0",
48
49
  "adal-angular": "^1.0.18",
49
50
  "atob": "^2.1.2",
50
- "azuremaps-maplibre-gl": "^1.15.0",
51
+ "azuremaps-maplibre-gl": "^1.16.0",
51
52
  "canvas": "^2.10.1",
52
53
  "es-abstract": "^1.17.1",
53
54
  "eslint": "^8.22.0",
Binary file
@@ -1965,6 +1965,10 @@ declare namespace atlas {
1965
1965
  * @param options Options for the initial display and interactability with the map.
1966
1966
  */
1967
1967
  constructor(container: string | HTMLElement, options: ServiceOptions & StyleOptions & UserInteractionOptions & (CameraOptions | CameraBoundsOptions));
1968
+ /**
1969
+ * Returns true if the map has been disposed.
1970
+ */
1971
+ get isDisposed(): boolean;
1968
1972
  /**
1969
1973
  * Returns the HTMLCanvasElement that the map is drawn to.
1970
1974
  */
@@ -4648,6 +4652,15 @@ declare namespace atlas {
4648
4652
  * The map configuration defines the set of styles available to the map.
4649
4653
  */
4650
4654
  mapConfiguration?: string | MapConfiguration;
4655
+ /**
4656
+ * The style definitions version to request when requesting styles
4657
+ * from styleDefinitionsPath.
4658
+ */
4659
+ styleDefinitionsVersion?: string;
4660
+ /**
4661
+ * The style API version used when requesting styles and stylesets
4662
+ */
4663
+ styleAPIVersion?: string;
4651
4664
  /**
4652
4665
  * Enable accessibility
4653
4666
  * default: true