azure-maps-control 2.2.2 → 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/dist/atlas-core-bare-snr.js +1038 -320
- package/dist/atlas-core-bare.js +1220 -372
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +1372 -588
- package/dist/atlas-core.js +1554 -640
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas.css +10 -31
- package/dist/atlas.js +1554 -640
- package/dist/atlas.min.css +1 -1
- package/dist/atlas.min.js +1 -1
- package/package.json +3 -2
- package/thirdpartynotices.txt +0 -0
- package/typings/index.d.ts +22 -5
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "azure-maps-control",
|
|
3
3
|
"author": "Microsoft Corporation",
|
|
4
|
-
"version": "2.
|
|
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.
|
|
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",
|
package/thirdpartynotices.txt
CHANGED
|
Binary file
|
package/typings/index.d.ts
CHANGED
|
@@ -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
|
*/
|
|
@@ -1991,7 +1995,7 @@ declare namespace atlas {
|
|
|
1991
1995
|
* current values.
|
|
1992
1996
|
* @param options The options for setting the map's camera and for the animation of any view change.
|
|
1993
1997
|
*/
|
|
1994
|
-
setCamera(options?: (CameraOptions | CameraBoundsOptions) & AnimationOptions): void;
|
|
1998
|
+
setCamera(options?: (CameraOptions | (CameraBoundsOptions & { pitch?: number, bearing?: number })) & AnimationOptions): void;
|
|
1995
1999
|
/**
|
|
1996
2000
|
* Returns the camera's current properties.
|
|
1997
2001
|
*/
|
|
@@ -2745,7 +2749,7 @@ declare namespace atlas {
|
|
|
2745
2749
|
/**
|
|
2746
2750
|
* Specifies which set of geopolitically disputed borders and labels are displayed on the map. The View parameter (also referred to as “user region parameter”) is a 2-letter ISO-3166 Country Code that will show the correct maps for that country/region. Country/Regions that are not on the View list or if unspecified will default to the “Unified” View.
|
|
2747
2751
|
* Please see the supported [Views]{@link https://aka.ms/AzureMapsLocalizationViews }.
|
|
2748
|
-
* It is your responsibility to determine the location of your users, and then set the View parameter correctly for that location. The View parameter in Azure Maps must be used in compliance with applicable laws, including those regarding mapping, of the country where maps, images and other data and third party content that You are authorized to access via Azure Maps is made available.
|
|
2752
|
+
* It is your responsibility to determine the location of your users, and then set the View parameter correctly for that location. The View parameter in Azure Maps must be used in compliance with applicable laws, including those regarding mapping, of the country/region where maps, images and other data and third party content that You are authorized to access via Azure Maps is made available.
|
|
2749
2753
|
* @param view The new default view
|
|
2750
2754
|
*/
|
|
2751
2755
|
export function setView(view: string): void;
|
|
@@ -4333,7 +4337,7 @@ declare namespace atlas {
|
|
|
4333
4337
|
/**
|
|
4334
4338
|
* Specifies which set of geopolitically disputed borders and labels are displayed on the map. The View parameter (also referred to as “user region parameter”) is a 2-letter ISO-3166 Country Code that will show the correct maps for that country/region. Country/Regions that are not on the View list or if unspecified will default to the “Unified” View.
|
|
4335
4339
|
* Please see the supported [Views]{@link https://aka.ms/AzureMapsLocalizationViews}
|
|
4336
|
-
* It is your responsibility to determine the location of your users, and then set the View parameter correctly for that location. The View parameter in Azure Maps must be used in compliance with applicable laws, including those regarding mapping, of the country where maps, images and other data and third party content that You are authorized to access via Azure Maps is made available.
|
|
4340
|
+
* It is your responsibility to determine the location of your users, and then set the View parameter correctly for that location. The View parameter in Azure Maps must be used in compliance with applicable laws, including those regarding mapping, of the country/region where maps, images and other data and third party content that You are authorized to access via Azure Maps is made available.
|
|
4337
4341
|
* default: `undefined`
|
|
4338
4342
|
* @default undefined
|
|
4339
4343
|
*/
|
|
@@ -4645,9 +4649,18 @@ declare namespace atlas {
|
|
|
4645
4649
|
*/
|
|
4646
4650
|
domain?: string;
|
|
4647
4651
|
/**
|
|
4648
|
-
* The map configuration defines the set of styles available to the map.
|
|
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
|
|
@@ -4815,6 +4828,10 @@ declare namespace atlas {
|
|
|
4815
4828
|
* If this method has been called before the original initialize promise is returned.
|
|
4816
4829
|
*/
|
|
4817
4830
|
initialize(): Promise<void>;
|
|
4831
|
+
/**
|
|
4832
|
+
* Cleans up any resources used by the authentication manager.
|
|
4833
|
+
*/
|
|
4834
|
+
dispose(): void;
|
|
4818
4835
|
/**
|
|
4819
4836
|
* Returns the current authentication type in use.
|
|
4820
4837
|
*/
|
|
@@ -5712,4 +5729,4 @@ declare namespace atlas {
|
|
|
5712
5729
|
}
|
|
5713
5730
|
}
|
|
5714
5731
|
|
|
5715
|
-
export = atlas;
|
|
5732
|
+
export = atlas;
|