azure-maps-control 2.2.0 → 2.2.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.js +22652 -0
- package/dist/atlas-core-bare.js +2281 -367
- package/dist/atlas-core-bare.min.js +1 -1
- package/dist/atlas-core-snr.js +65779 -0
- package/dist/atlas-core.js +2287 -373
- package/dist/atlas-core.min.js +1 -1
- package/dist/atlas-internal.min.js +1 -1
- package/dist/atlas.css +6 -6
- package/dist/atlas.js +2280 -366
- package/dist/atlas.min.css +1 -1
- package/dist/atlas.min.js +1 -1
- package/package.json +17 -26
- package/thirdpartynotices.txt +0 -0
- package/typings/index.d.ts +14 -0
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.
|
|
4
|
+
"version": "2.2.1",
|
|
5
5
|
"description": "Map SDK for Azure Maps",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"azure",
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
],
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "node ./bin/build.js",
|
|
17
|
+
"build-snrOnly": "node ./bin/build.js --snrOnly",
|
|
17
18
|
"docs": "(if exist \"./docs/\" rmdir \"./docs/\" /S /Q) && tsc --declaration --declarationDir ./docs --emitDeclarationOnly --stripInternal",
|
|
18
19
|
"lessc": "node_modules/.bin/lessc",
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"test": "
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"test-filter": "set \"TS_NODE_PROJECT=./test/tsconfig.json\" && mocha --parallel --exit --timeout 30000 --require ts-node/register",
|
|
20
|
+
"test": "npm run test:unit && npm run test:func",
|
|
21
|
+
"test:unit": "jest -c test/unit/jest.config.js",
|
|
22
|
+
"test:func": "jest -c test/func/jest.config.js",
|
|
23
|
+
"pretest:func": "npm run updatePackageVersionForTests -- --isPreTest true",
|
|
24
|
+
"posttest:func": "npm run updatePackageVersionForTests -- --isPreTest false",
|
|
25
|
+
"coverage": "npm run test:unit -- --collectCoverage && npm run test:func",
|
|
26
26
|
"thirdPartyNotices": "node ./bin/thirdPartyNotices.js",
|
|
27
27
|
"lint": "eslint -c .eslintrc.json --ext .ts,.js src/",
|
|
28
28
|
"updateEnvVariables": "node ./bin/updateEnvVariables.js",
|
|
@@ -37,32 +37,33 @@
|
|
|
37
37
|
"@mapbox/mapbox-gl-rtl-text": "^0.2.3",
|
|
38
38
|
"@microsoft/applicationinsights-web": "^2.5.9",
|
|
39
39
|
"@turf/intersect": "^6.3.0",
|
|
40
|
+
"@types/jest": "^27.5.1",
|
|
40
41
|
"@types/jwt-decode": "^2.2.0",
|
|
41
42
|
"@types/lodash": "4.14.136",
|
|
42
43
|
"@types/mapbox-gl": "^1.13.0",
|
|
43
|
-
"@types/
|
|
44
|
+
"@types/node": "^18.11.10",
|
|
44
45
|
"@types/puppeteer": "^1.20.7",
|
|
45
46
|
"@typescript-eslint/eslint-plugin": "^5.33.0",
|
|
46
47
|
"@typescript-eslint/parser": "^5.33.0",
|
|
47
48
|
"adal-angular": "^1.0.18",
|
|
48
49
|
"atob": "^2.1.2",
|
|
49
50
|
"azuremaps-maplibre-gl": "^1.14.0-rc4",
|
|
50
|
-
"
|
|
51
|
+
"canvas": "^2.10.1",
|
|
51
52
|
"es-abstract": "^1.17.1",
|
|
52
53
|
"eslint": "^8.22.0",
|
|
53
54
|
"eslint-plugin-security": "^1.5.0",
|
|
54
55
|
"estree-walker": "^1.0.1",
|
|
55
56
|
"fs-extra": "^8.1.0",
|
|
57
|
+
"gl": "^6.0.1",
|
|
56
58
|
"glob": "^7.1.6",
|
|
57
59
|
"grunt": "^1.3.0",
|
|
60
|
+
"jest": "^27.5.1",
|
|
61
|
+
"jest-trx-results-processor": "^3.0.1",
|
|
58
62
|
"jwt-decode": "^2.2.0",
|
|
59
63
|
"less": "^3.12.2",
|
|
60
64
|
"less-plugin-clean-css": "^1.5.1",
|
|
61
65
|
"lodash": "4.17.15",
|
|
62
|
-
"mocha": "^9.0.3",
|
|
63
|
-
"mocha-trx-reporter": "^3.3.1",
|
|
64
66
|
"node-fetch": "^2.6.1",
|
|
65
|
-
"nyc": "^15.1.0",
|
|
66
67
|
"puppeteer": "^10.2.0",
|
|
67
68
|
"rollup": "^1.32.1",
|
|
68
69
|
"rollup-plugin-commonjs": "^10.1.0",
|
|
@@ -71,8 +72,9 @@
|
|
|
71
72
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
72
73
|
"rollup-plugin-uglify": "^6.0.4",
|
|
73
74
|
"simplify-ts": "^1.0.2",
|
|
75
|
+
"ts-jest": "^27.1.5",
|
|
74
76
|
"ts-node": "^8.10.2",
|
|
75
|
-
"typescript": "^3.
|
|
77
|
+
"typescript": "^4.3.5",
|
|
76
78
|
"utf-8-validate": "^5.0.2",
|
|
77
79
|
"uuid-random": "^1.3.2",
|
|
78
80
|
"yargs": "^13.3.2"
|
|
@@ -84,16 +86,5 @@
|
|
|
84
86
|
"thirdpartynotices.txt"
|
|
85
87
|
],
|
|
86
88
|
"types": "./typings/index.d.ts",
|
|
87
|
-
"main": "./dist/atlas.min.js"
|
|
88
|
-
"nyc": {
|
|
89
|
-
"all": true,
|
|
90
|
-
"exclude": [
|
|
91
|
-
"bin",
|
|
92
|
-
"dist",
|
|
93
|
-
"test",
|
|
94
|
-
"examples"
|
|
95
|
-
],
|
|
96
|
-
"check-coverage": false,
|
|
97
|
-
"exclude-after-remap": false
|
|
98
|
-
}
|
|
89
|
+
"main": "./dist/atlas.min.js"
|
|
99
90
|
}
|
package/thirdpartynotices.txt
CHANGED
|
Binary file
|
package/typings/index.d.ts
CHANGED
|
@@ -4270,6 +4270,20 @@ declare namespace atlas {
|
|
|
4270
4270
|
* @default false
|
|
4271
4271
|
*/
|
|
4272
4272
|
preserveDrawingBuffer?: boolean;
|
|
4273
|
+
/**
|
|
4274
|
+
* If true, the map will try to defer non-essential map layers and show essential layers as early as possible.
|
|
4275
|
+
* This option may only be set when initializing the map.
|
|
4276
|
+
* Default `false`
|
|
4277
|
+
* @default false
|
|
4278
|
+
*/
|
|
4279
|
+
progressiveLoading?: boolean;
|
|
4280
|
+
/**
|
|
4281
|
+
* The list of layer groups to be loaded at the initial stage. Passing an empty array will disable the progressive loading.
|
|
4282
|
+
* This option may only be set when initializing the map.
|
|
4283
|
+
* Default `['base']`
|
|
4284
|
+
* @default ['base']
|
|
4285
|
+
*/
|
|
4286
|
+
progressiveLoadingInitialLayerGroups?: string[];
|
|
4273
4287
|
/**
|
|
4274
4288
|
* Specifies if multiple copies of the world should be rendered when zoomed out.
|
|
4275
4289
|
* Default `true`
|