@itwin/map-layers-formats 4.0.0-dev.8 → 4.0.0-dev.80
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/.rush/temp/operation/build/all.log +3 -0
- package/.rush/temp/operation/build/state.json +3 -0
- package/.rush/temp/operation/cover/all.log +98 -0
- package/.rush/temp/operation/cover/state.json +1 -1
- package/.rush/temp/operation/docs/all.log +30 -0
- package/.rush/temp/operation/docs/state.json +1 -1
- package/.rush/temp/{package-deps_build_ci.json → package-deps_build.json} +11 -11
- package/.rush/temp/package-deps_cover.json +10 -10
- package/.rush/temp/package-deps_docs.json +10 -10
- package/.rush/temp/shrinkwrap-deps.json +190 -44
- package/CHANGELOG.json +57 -0
- package/CHANGELOG.md +44 -1
- package/config/rush-project.json +1 -2
- package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.d.ts +8 -8
- package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.js +14 -14
- package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureJSON.d.ts +14 -14
- package/lib/cjs/ArcGisFeature/ArcGisFeatureJSON.js +132 -134
- package/lib/cjs/ArcGisFeature/ArcGisFeatureJSON.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.d.ts +14 -14
- package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.js +200 -202
- package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.d.ts +44 -44
- package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.js +421 -422
- package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.d.ts +92 -92
- package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.d.ts.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.js +82 -82
- package/lib/cjs/ArcGisFeature/ArcGisFeatureReader.d.ts +17 -17
- package/lib/cjs/ArcGisFeature/ArcGisFeatureReader.js +33 -33
- package/lib/cjs/ArcGisFeature/ArcGisFeatureRenderer.d.ts +32 -32
- package/lib/cjs/ArcGisFeature/ArcGisFeatureRenderer.js +142 -142
- package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.d.ts +16 -16
- package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.d.ts.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.js +42 -43
- package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.js.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.d.ts +85 -85
- package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.d.ts.map +1 -1
- package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.js +189 -192
- package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.js.map +1 -1
- package/lib/cjs/ArcGisFeature/esriPBuffer.gen.d.ts +1063 -1063
- package/lib/cjs/ArcGisFeature/esriPBuffer.gen.d.ts.map +1 -1
- package/lib/cjs/ArcGisFeature/esriPBuffer.gen.js +2267 -2270
- package/lib/cjs/ArcGisFeature/esriPBuffer.gen.js.map +1 -1
- package/lib/cjs/map-layers-formats.d.ts +8 -8
- package/lib/cjs/map-layers-formats.js +28 -24
- package/lib/cjs/map-layers-formats.js.map +1 -1
- package/lib/cjs/mapLayersFormats.d.ts +10 -10
- package/lib/cjs/mapLayersFormats.js +28 -28
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.js +34 -34
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureJSON.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureJSON.test.js +161 -161
- package/lib/cjs/test/ArcGisFeature/ArcGisFeaturePBF.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeaturePBF.test.js +167 -167
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.js +679 -680
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.js.map +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureQuery.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureQuery.test.js +103 -103
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureRenderer.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureRenderer.test.js +214 -214
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.js +94 -94
- package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.js.map +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisSymbologyRenderer.test.d.ts +1 -1
- package/lib/cjs/test/ArcGisFeature/ArcGisSymbologyRenderer.test.js +59 -59
- package/lib/cjs/test/ArcGisFeature/Mocks.d.ts +6 -6
- package/lib/cjs/test/ArcGisFeature/Mocks.js +18 -18
- package/lib/cjs/test/ArcGisFeature/NewYorkDataset.d.ts +55 -55
- package/lib/cjs/test/ArcGisFeature/NewYorkDataset.d.ts.map +1 -1
- package/lib/cjs/test/ArcGisFeature/NewYorkDataset.js +419 -419
- package/lib/cjs/test/ArcGisFeature/NewYorkDataset.js.map +1 -1
- package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.d.ts +1042 -1042
- package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.d.ts.map +1 -1
- package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.js +426 -426
- package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.js.map +1 -1
- package/lib/cjs/test/coverage/.nyc_output/965fc94c-e7e4-4e85-bf72-aecce4f5ac8c.json +1 -0
- package/lib/cjs/test/coverage/.nyc_output/processinfo/4935e330-732e-4dc9-9cc7-6639c02bf614.json +1 -0
- package/lib/cjs/test/coverage/.nyc_output/processinfo/965fc94c-e7e4-4e85-bf72-aecce4f5ac8c.json +1 -0
- package/lib/cjs/test/coverage/.nyc_output/processinfo/index.json +1 -1
- package/lib/cjs/test/coverage/cobertura-coverage.xml +72 -72
- package/lib/cjs/test/coverage/lcov-report/index.html +5 -5
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureFormat.ts.html +1 -1
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureJSON.ts.html +10 -10
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeaturePBF.ts.html +7 -7
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureProvider.ts.html +10 -10
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureQuery.ts.html +1 -1
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureReader.ts.html +1 -1
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureRenderer.ts.html +1 -1
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureResponse.ts.html +4 -4
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisSymbologyRenderer.ts.html +8 -8
- package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/index.html +13 -13
- package/lib/cjs/test/coverage/lcov-report/src/index.html +1 -1
- package/lib/cjs/test/coverage/lcov-report/src/map-layers-formats.ts.html +1 -1
- package/lib/cjs/test/coverage/lcov-report/src/mapLayersFormats.ts.html +1 -1
- package/lib/cjs/test/coverage/lcov.info +355 -531
- package/lib/cjs/tsconfig.tsbuildinfo +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.d.ts +8 -8
- package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.js +11 -10
- package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.d.ts +14 -14
- package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.js +128 -130
- package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.d.ts +14 -14
- package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.js +196 -198
- package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.d.ts +44 -44
- package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.js +418 -418
- package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.d.ts +92 -92
- package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.d.ts.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.js +78 -78
- package/lib/esm/ArcGisFeature/ArcGisFeatureReader.d.ts +17 -17
- package/lib/esm/ArcGisFeature/ArcGisFeatureReader.js +29 -29
- package/lib/esm/ArcGisFeature/ArcGisFeatureRenderer.d.ts +32 -32
- package/lib/esm/ArcGisFeature/ArcGisFeatureRenderer.js +138 -138
- package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.d.ts +16 -16
- package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.d.ts.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.js +38 -39
- package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.js.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.d.ts +85 -85
- package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.d.ts.map +1 -1
- package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.js +183 -185
- package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.js.map +1 -1
- package/lib/esm/ArcGisFeature/esriPBuffer.gen.d.ts +1063 -1063
- package/lib/esm/ArcGisFeature/esriPBuffer.gen.d.ts.map +1 -1
- package/lib/esm/ArcGisFeature/esriPBuffer.gen.js +2264 -2267
- package/lib/esm/ArcGisFeature/esriPBuffer.gen.js.map +1 -1
- package/lib/esm/map-layers-formats.d.ts +8 -8
- package/lib/esm/map-layers-formats.js +12 -12
- package/lib/esm/mapLayersFormats.d.ts +10 -10
- package/lib/esm/mapLayersFormats.js +24 -24
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.js +32 -32
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureJSON.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureJSON.test.js +159 -159
- package/lib/esm/test/ArcGisFeature/ArcGisFeaturePBF.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeaturePBF.test.js +165 -165
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.js +677 -678
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.js.map +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureQuery.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureQuery.test.js +101 -101
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureRenderer.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureRenderer.test.js +212 -212
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.js +92 -92
- package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.js.map +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisSymbologyRenderer.test.d.ts +1 -1
- package/lib/esm/test/ArcGisFeature/ArcGisSymbologyRenderer.test.js +57 -57
- package/lib/esm/test/ArcGisFeature/Mocks.d.ts +6 -6
- package/lib/esm/test/ArcGisFeature/Mocks.js +15 -15
- package/lib/esm/test/ArcGisFeature/NewYorkDataset.d.ts +55 -55
- package/lib/esm/test/ArcGisFeature/NewYorkDataset.d.ts.map +1 -1
- package/lib/esm/test/ArcGisFeature/NewYorkDataset.js +416 -415
- package/lib/esm/test/ArcGisFeature/NewYorkDataset.js.map +1 -1
- package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.d.ts +1042 -1042
- package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.d.ts.map +1 -1
- package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.js +423 -422
- package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.js.map +1 -1
- package/lib/esm/tsconfig.tsbuildinfo +1 -1
- package/lib/test/junit_results.xml +48 -48
- package/map-layers-formats.build.log +2 -2
- package/package.json +17 -17
- package/src/ArcGisFeature/esriPBuffer.gen.ts +1 -4
- package/src/test/ArcGisFeature/ArcGisFeatureProvider.test.ts +21 -21
- package/src/test/ArcGisFeature/NewYorkDataset.ts +187 -187
- package/src/test/ArcGisFeature/PhillyLandmarksDataset.ts +4 -4
- package/tsconfig.json +1 -2
- package/.rush/temp/operation/build_ci/state.json +0 -3
- package/lib/cjs/test/coverage/.nyc_output/bb9e12be-ea3c-4cee-99d0-c7a34bd2c47a.json +0 -1
- package/lib/cjs/test/coverage/.nyc_output/processinfo/5901bdfe-760d-4ca3-9674-876be7ed11b1.json +0 -1
- package/lib/cjs/test/coverage/.nyc_output/processinfo/bb9e12be-ea3c-4cee-99d0-c7a34bd2c47a.json +0 -1
- /package/lib/cjs/test/coverage/.nyc_output/{5901bdfe-760d-4ca3-9674-876be7ed11b1.json → 4935e330-732e-4dc9-9cc7-6639c02bf614.json} +0 -0
|
@@ -1 +1 @@
|
|
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vC,MAAM,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC;IAChD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,sDAAsD,EAAE,KAAK,IAAI,EAAE;QACpE,MAAM,QAAQ,GAAG,IAAI,qBAAqB,CAAC,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC;YACjE,MAAM,EAAE,GAAG;YACX,IAAI,EAAE,KAAK,IAAI,EAAE;gBACf,OAAO,EAAC,qBAAqB,EAAE,IAAI,EAAC,CAAC;YACvC,CAAC;SACqB,CAAC,CAAC,CAAC;QAC3B,MAAM,IAAI,GAAG,MAAM,QAAQ,CAAC,eAAe,EAAE,CAAC;QAC9C,MAAM,CAAC,IAAI,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;IAC/C,CAAC,CAAC,CAAC;AAEL,CAAC,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\r\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\r\n* See LICENSE.md in the project root for license terms and full copyright notice.\r\n*--------------------------------------------------------------------------------------------*/\r\n\r\nimport { ByteStream } from \"@itwin/core-bentley\";\r\nimport { Base64EncodedString } from \"@itwin/core-common\";\r\nimport { expect } from \"chai\";\r\nimport * as sinon from \"sinon\";\r\nimport { ArcGisFeatureResponse } from \"../../ArcGisFeature/ArcGisFeatureResponse\";\r\nimport { esriPBuffer } from \"../../ArcGisFeature/esriPBuffer.gen\";\r\nimport { PhillyLandmarksDataset } from \"./PhillyLandmarksDataset\";\r\n\r\ndescribe(\"ArcGisFeatureResponse\", () => {\r\n\r\n const sandbox = sinon.createSandbox();\r\n\r\n afterEach(async () => {\r\n sandbox.restore();\r\n });\r\n\r\n it(\"should return undefined if http error\", async () => {\r\n const response = new ArcGisFeatureResponse(\"PBF\", Promise.resolve({status: 404} as Response));\r\n const data = await response.getResponseData();\r\n expect(data).to.be.undefined;\r\n });\r\n\r\n it(\"should return undefined if invalid PBF data\", async () => {\r\n const response = new ArcGisFeatureResponse(\"PBF\", Promise.resolve({\r\n status: 404,\r\n arrayBuffer: async () => {\r\n return Promise.resolve(undefined);\r\n },\r\n } as unknown as Response));\r\n const data = await response.getResponseData();\r\n expect(data).to.be.undefined;\r\n });\r\n\r\n it(\"should create FeatureCollectionPBuffer from PBF data\", async () => {\r\n\r\n const fakeResponse = {\r\n headers: { \"content-type\" : \"pbf\"},\r\n arrayBuffer: async () => {\r\n const byteArray = Base64EncodedString.toUint8Array(PhillyLandmarksDataset.phillyTransportationGetFeatureInfoQueryEncodedPbf);\r\n return Promise.resolve(byteArray ? ByteStream.fromUint8Array(byteArray).arrayBuffer : undefined);\r\n },\r\n status: 200,\r\n } as unknown;\r\n\r\n const response = new ArcGisFeatureResponse(\"PBF\", Promise.resolve(fakeResponse as Response));\r\n const data = await response.getResponseData();\r\n expect(data?.exceedTransferLimit).to.be.false;\r\n expect(data?.data instanceof esriPBuffer.FeatureCollectionPBuffer).to.be.true;\r\n });\r\n\r\n it(\"should report exceededTransferLimit from PBF object\", async () => {\r\n\r\n const collection = esriPBuffer.FeatureCollectionPBuffer.fromObject(PhillyLandmarksDataset.phillyExceededTransferLimitPbf);\r\n\r\n const fakeResponse = {\r\n headers: { \"content-type\" : \"pbf\"},\r\n arrayBuffer: async () => {\r\n const byteArray = collection.serialize();\r\n return Promise.resolve(byteArray ? ByteStream.fromUint8Array(byteArray).arrayBuffer : undefined);\r\n },\r\n status: 200,\r\n } as unknown;\r\n\r\n const response = new ArcGisFeatureResponse(\"PBF\", Promise.resolve(fakeResponse as Response));\r\n const data = await response.getResponseData();\r\n expect(data?.exceedTransferLimit).to.be.true;\r\n expect(data?.data instanceof esriPBuffer.FeatureCollectionPBuffer).to.be.true;\r\n });\r\n\r\n it(\"should return undefined if invalid JSON\", async () => {\r\n const response = new ArcGisFeatureResponse(\"JSON\", Promise.resolve({\r\n status: 404,\r\n json: async () => {\r\n return undefined;\r\n },\r\n } as unknown as Response));\r\n const data = await response.getResponseData();\r\n expect(data).to.be.undefined;\r\n });\r\n\r\n it(\"should return JSON data\", async () => {\r\n const response = new ArcGisFeatureResponse(\"JSON\", Promise.resolve({\r\n status: 200,\r\n json: async () => {\r\n return {exceededTransferLimit: false};\r\n },\r\n } as unknown as Response));\r\n const data = await response.getResponseData();\r\n expect(data?.data).not.to.be.undefined;\r\n expect(data?.exceedTransferLimit).to.be.false;\r\n });\r\n\r\n it(\"should report exceededTransferLimit from JSON object\", async () => {\r\n const response = new ArcGisFeatureResponse(\"JSON\", Promise.resolve({\r\n status: 200,\r\n json: async () => {\r\n return {exceededTransferLimit: true};\r\n },\r\n } as unknown as Response));\r\n const data = await response.getResponseData();\r\n expect(data?.exceedTransferLimit).to.be.true;\r\n });\r\n\r\n});\r\n"]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=ArcGisSymbologyRenderer.test.d.ts.map
|
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { expect } from "chai";
|
|
6
|
-
import * as sinon from "sinon";
|
|
7
|
-
import { NewYorkDataset } from "./NewYorkDataset";
|
|
8
|
-
import { ArcGisSymbologyRenderer, EsriPMS, EsriSFS, EsriSLS } from "../../ArcGisFeature/ArcGisSymbologyRenderer";
|
|
9
|
-
import { PhillyLandmarksDataset } from "./PhillyLandmarksDataset";
|
|
10
|
-
describe("ArcGisSymbologyRenderer", () => {
|
|
11
|
-
const sandbox = sinon.createSandbox();
|
|
12
|
-
afterEach(async () => {
|
|
13
|
-
sandbox.restore();
|
|
14
|
-
});
|
|
15
|
-
const comparePointSymbol = (symbol1, symbol2) => {
|
|
16
|
-
expect(symbol1.type).to.equals(symbol2.type);
|
|
17
|
-
expect(symbol1.contentType).to.equals(symbol2.contentType);
|
|
18
|
-
expect(symbol1.height).to.equals(symbol2.height);
|
|
19
|
-
expect(symbol1.width).to.equals(symbol2.width);
|
|
20
|
-
expect(symbol1.imageData).to.equals(symbol2.imageData);
|
|
21
|
-
};
|
|
22
|
-
const compareLineSymbol = (symbol1, symbol2) => {
|
|
23
|
-
expect(symbol1.type).to.equals(symbol2.type);
|
|
24
|
-
expect(symbol1.color).to.equals(symbol2.color);
|
|
25
|
-
expect(symbol1.width).to.equals(symbol2.width);
|
|
26
|
-
expect(symbol1.style).to.equals(symbol2.style);
|
|
27
|
-
};
|
|
28
|
-
const comparePolySymbol = (symbol1, symbol2) => {
|
|
29
|
-
expect(symbol1.type).to.equals(symbol2.type);
|
|
30
|
-
expect(symbol1.color).to.equals(symbol2.color);
|
|
31
|
-
expect(symbol1.style).to.equals(symbol2.style);
|
|
32
|
-
};
|
|
33
|
-
it("should construct renderer from incomplete drawing info", async () => {
|
|
34
|
-
let provider = new ArcGisSymbologyRenderer("esriGeometryPoint", NewYorkDataset.incompleteDrawingInfo.drawingInfo.renderer);
|
|
35
|
-
comparePointSymbol(provider._symbol, EsriPMS.fromJSON(ArcGisSymbologyRenderer.defaultPMS));
|
|
36
|
-
provider = new ArcGisSymbologyRenderer("esriGeometryMultipoint", NewYorkDataset.incompleteDrawingInfo.drawingInfo.renderer);
|
|
37
|
-
comparePointSymbol(provider._symbol, EsriPMS.fromJSON(ArcGisSymbologyRenderer.defaultPMS));
|
|
38
|
-
provider = new ArcGisSymbologyRenderer("esriGeometryPolyline", NewYorkDataset.incompleteDrawingInfo.drawingInfo.renderer);
|
|
39
|
-
compareLineSymbol(provider._symbol, EsriSLS.fromJSON(ArcGisSymbologyRenderer.defaultSLS));
|
|
40
|
-
provider = new ArcGisSymbologyRenderer("esriGeometryLine", NewYorkDataset.incompleteDrawingInfo.drawingInfo.renderer);
|
|
41
|
-
compareLineSymbol(provider._symbol, EsriSLS.fromJSON(ArcGisSymbologyRenderer.defaultSLS));
|
|
42
|
-
provider = new ArcGisSymbologyRenderer("esriGeometryPolygon", NewYorkDataset.incompleteDrawingInfo.drawingInfo.renderer);
|
|
43
|
-
comparePolySymbol(provider._symbol, EsriSFS.fromJSON(ArcGisSymbologyRenderer.defaultSFS));
|
|
44
|
-
});
|
|
45
|
-
it("should construct renderer from unique value drawing info", async () => {
|
|
46
|
-
const provider = new ArcGisSymbologyRenderer("esriGeometryPoint", NewYorkDataset.uniqueValueDrawingInfo.drawingInfo.renderer);
|
|
47
|
-
comparePointSymbol(provider._symbol, NewYorkDataset.uniqueValueDrawingInfo.drawingInfo.renderer.defaultSymbol);
|
|
48
|
-
});
|
|
49
|
-
it("should construct renderer from point symbology drawing info", async () => {
|
|
50
|
-
let provider = new ArcGisSymbologyRenderer("esriGeometryPoint", PhillyLandmarksDataset.pointDrawingInfo.drawingInfo.renderer);
|
|
51
|
-
comparePointSymbol(provider._symbol, PhillyLandmarksDataset.pointDrawingInfo.drawingInfo.renderer.symbol);
|
|
52
|
-
provider = new ArcGisSymbologyRenderer("esriGeometryPolyline", PhillyLandmarksDataset.lineDrawingInfo.drawingInfo.renderer);
|
|
53
|
-
comparePointSymbol(provider._symbol, PhillyLandmarksDataset.lineDrawingInfo.drawingInfo.renderer.symbol);
|
|
54
|
-
provider = new ArcGisSymbologyRenderer("esriGeometryPolygon", PhillyLandmarksDataset.polygonDrawingInfo.drawingInfo.renderer);
|
|
55
|
-
comparePointSymbol(provider._symbol, PhillyLandmarksDataset.polygonDrawingInfo.drawingInfo.renderer.symbol);
|
|
56
|
-
});
|
|
57
|
-
});
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { expect } from "chai";
|
|
6
|
+
import * as sinon from "sinon";
|
|
7
|
+
import { NewYorkDataset } from "./NewYorkDataset";
|
|
8
|
+
import { ArcGisSymbologyRenderer, EsriPMS, EsriSFS, EsriSLS } from "../../ArcGisFeature/ArcGisSymbologyRenderer";
|
|
9
|
+
import { PhillyLandmarksDataset } from "./PhillyLandmarksDataset";
|
|
10
|
+
describe("ArcGisSymbologyRenderer", () => {
|
|
11
|
+
const sandbox = sinon.createSandbox();
|
|
12
|
+
afterEach(async () => {
|
|
13
|
+
sandbox.restore();
|
|
14
|
+
});
|
|
15
|
+
const comparePointSymbol = (symbol1, symbol2) => {
|
|
16
|
+
expect(symbol1.type).to.equals(symbol2.type);
|
|
17
|
+
expect(symbol1.contentType).to.equals(symbol2.contentType);
|
|
18
|
+
expect(symbol1.height).to.equals(symbol2.height);
|
|
19
|
+
expect(symbol1.width).to.equals(symbol2.width);
|
|
20
|
+
expect(symbol1.imageData).to.equals(symbol2.imageData);
|
|
21
|
+
};
|
|
22
|
+
const compareLineSymbol = (symbol1, symbol2) => {
|
|
23
|
+
expect(symbol1.type).to.equals(symbol2.type);
|
|
24
|
+
expect(symbol1.color).to.equals(symbol2.color);
|
|
25
|
+
expect(symbol1.width).to.equals(symbol2.width);
|
|
26
|
+
expect(symbol1.style).to.equals(symbol2.style);
|
|
27
|
+
};
|
|
28
|
+
const comparePolySymbol = (symbol1, symbol2) => {
|
|
29
|
+
expect(symbol1.type).to.equals(symbol2.type);
|
|
30
|
+
expect(symbol1.color).to.equals(symbol2.color);
|
|
31
|
+
expect(symbol1.style).to.equals(symbol2.style);
|
|
32
|
+
};
|
|
33
|
+
it("should construct renderer from incomplete drawing info", async () => {
|
|
34
|
+
let provider = new ArcGisSymbologyRenderer("esriGeometryPoint", NewYorkDataset.incompleteDrawingInfo.drawingInfo.renderer);
|
|
35
|
+
comparePointSymbol(provider._symbol, EsriPMS.fromJSON(ArcGisSymbologyRenderer.defaultPMS));
|
|
36
|
+
provider = new ArcGisSymbologyRenderer("esriGeometryMultipoint", NewYorkDataset.incompleteDrawingInfo.drawingInfo.renderer);
|
|
37
|
+
comparePointSymbol(provider._symbol, EsriPMS.fromJSON(ArcGisSymbologyRenderer.defaultPMS));
|
|
38
|
+
provider = new ArcGisSymbologyRenderer("esriGeometryPolyline", NewYorkDataset.incompleteDrawingInfo.drawingInfo.renderer);
|
|
39
|
+
compareLineSymbol(provider._symbol, EsriSLS.fromJSON(ArcGisSymbologyRenderer.defaultSLS));
|
|
40
|
+
provider = new ArcGisSymbologyRenderer("esriGeometryLine", NewYorkDataset.incompleteDrawingInfo.drawingInfo.renderer);
|
|
41
|
+
compareLineSymbol(provider._symbol, EsriSLS.fromJSON(ArcGisSymbologyRenderer.defaultSLS));
|
|
42
|
+
provider = new ArcGisSymbologyRenderer("esriGeometryPolygon", NewYorkDataset.incompleteDrawingInfo.drawingInfo.renderer);
|
|
43
|
+
comparePolySymbol(provider._symbol, EsriSFS.fromJSON(ArcGisSymbologyRenderer.defaultSFS));
|
|
44
|
+
});
|
|
45
|
+
it("should construct renderer from unique value drawing info", async () => {
|
|
46
|
+
const provider = new ArcGisSymbologyRenderer("esriGeometryPoint", NewYorkDataset.uniqueValueDrawingInfo.drawingInfo.renderer);
|
|
47
|
+
comparePointSymbol(provider._symbol, NewYorkDataset.uniqueValueDrawingInfo.drawingInfo.renderer.defaultSymbol);
|
|
48
|
+
});
|
|
49
|
+
it("should construct renderer from point symbology drawing info", async () => {
|
|
50
|
+
let provider = new ArcGisSymbologyRenderer("esriGeometryPoint", PhillyLandmarksDataset.pointDrawingInfo.drawingInfo.renderer);
|
|
51
|
+
comparePointSymbol(provider._symbol, PhillyLandmarksDataset.pointDrawingInfo.drawingInfo.renderer.symbol);
|
|
52
|
+
provider = new ArcGisSymbologyRenderer("esriGeometryPolyline", PhillyLandmarksDataset.lineDrawingInfo.drawingInfo.renderer);
|
|
53
|
+
comparePointSymbol(provider._symbol, PhillyLandmarksDataset.lineDrawingInfo.drawingInfo.renderer.symbol);
|
|
54
|
+
provider = new ArcGisSymbologyRenderer("esriGeometryPolygon", PhillyLandmarksDataset.polygonDrawingInfo.drawingInfo.renderer);
|
|
55
|
+
comparePointSymbol(provider._symbol, PhillyLandmarksDataset.polygonDrawingInfo.drawingInfo.renderer.symbol);
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
58
|
//# sourceMappingURL=ArcGisSymbologyRenderer.test.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const fakeContext: CanvasRenderingContext2D;
|
|
2
|
-
export declare const esriFeatureSampleSource: {
|
|
3
|
-
name: string;
|
|
4
|
-
url: string;
|
|
5
|
-
formatId: string;
|
|
6
|
-
};
|
|
1
|
+
export declare const fakeContext: CanvasRenderingContext2D;
|
|
2
|
+
export declare const esriFeatureSampleSource: {
|
|
3
|
+
name: string;
|
|
4
|
+
url: string;
|
|
5
|
+
formatId: string;
|
|
6
|
+
};
|
|
7
7
|
//# sourceMappingURL=Mocks.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/*---------------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
-
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
-
*--------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ArcGisFeatureMapLayerFormat } from "../../ArcGisFeature/ArcGisFeatureFormat";
|
|
6
|
-
export const fakeContext = {
|
|
7
|
-
beginPath: () => { },
|
|
8
|
-
closePath: () => { },
|
|
9
|
-
moveTo: (_x, _y) => { },
|
|
10
|
-
lineTo: (_x, _y) => { },
|
|
11
|
-
fill: (_fillRule) => { },
|
|
12
|
-
stroke: () => { },
|
|
13
|
-
drawImage: (_image, _dx, _dy) => { },
|
|
14
|
-
};
|
|
15
|
-
export const esriFeatureSampleSource = { name: "dummyFeatureLayer", url: "https://dummy.com", formatId: ArcGisFeatureMapLayerFormat.formatId };
|
|
1
|
+
/*---------------------------------------------------------------------------------------------
|
|
2
|
+
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
|
|
3
|
+
* See LICENSE.md in the project root for license terms and full copyright notice.
|
|
4
|
+
*--------------------------------------------------------------------------------------------*/
|
|
5
|
+
import { ArcGisFeatureMapLayerFormat } from "../../ArcGisFeature/ArcGisFeatureFormat";
|
|
6
|
+
export const fakeContext = {
|
|
7
|
+
beginPath: () => { },
|
|
8
|
+
closePath: () => { },
|
|
9
|
+
moveTo: (_x, _y) => { },
|
|
10
|
+
lineTo: (_x, _y) => { },
|
|
11
|
+
fill: (_fillRule) => { },
|
|
12
|
+
stroke: () => { },
|
|
13
|
+
drawImage: (_image, _dx, _dy) => { },
|
|
14
|
+
};
|
|
15
|
+
export const esriFeatureSampleSource = { name: "dummyFeatureLayer", url: "https://dummy.com", formatId: ArcGisFeatureMapLayerFormat.formatId };
|
|
16
16
|
//# sourceMappingURL=Mocks.js.map
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
export declare class NewYorkDataset {
|
|
2
|
-
static serviceCapabilities: any;
|
|
3
|
-
static streetsLayerCapabilities: any;
|
|
4
|
-
static incompleteDrawingInfo: {
|
|
5
|
-
drawingInfo: {
|
|
6
|
-
renderer: {
|
|
7
|
-
type: string;
|
|
8
|
-
field1: string;
|
|
9
|
-
field2: null;
|
|
10
|
-
field3: null;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
static uniqueValueDrawingInfo: {
|
|
15
|
-
drawingInfo: {
|
|
16
|
-
renderer: {
|
|
17
|
-
type: string;
|
|
18
|
-
field1: string;
|
|
19
|
-
field2: null;
|
|
20
|
-
field3: null;
|
|
21
|
-
defaultSymbol: {
|
|
22
|
-
type: string;
|
|
23
|
-
url: string;
|
|
24
|
-
imageData: string;
|
|
25
|
-
contentType: string;
|
|
26
|
-
width: number;
|
|
27
|
-
height: number;
|
|
28
|
-
angle: number;
|
|
29
|
-
xoffset: number;
|
|
30
|
-
yoffset: number;
|
|
31
|
-
};
|
|
32
|
-
defaultLabel: string;
|
|
33
|
-
uniqueValueInfos: {
|
|
34
|
-
symbol: {
|
|
35
|
-
type: string;
|
|
36
|
-
url: string;
|
|
37
|
-
imageData: string;
|
|
38
|
-
contentType: string;
|
|
39
|
-
width: number;
|
|
40
|
-
height: number;
|
|
41
|
-
angle: number;
|
|
42
|
-
xoffset: number;
|
|
43
|
-
yoffset: number;
|
|
44
|
-
};
|
|
45
|
-
value: string;
|
|
46
|
-
label: string;
|
|
47
|
-
description: string;
|
|
48
|
-
}[];
|
|
49
|
-
fieldDelimiter: string;
|
|
50
|
-
};
|
|
51
|
-
transparency: number;
|
|
52
|
-
labelingInfo: null;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
}
|
|
1
|
+
export declare class NewYorkDataset {
|
|
2
|
+
static serviceCapabilities: any;
|
|
3
|
+
static streetsLayerCapabilities: any;
|
|
4
|
+
static incompleteDrawingInfo: {
|
|
5
|
+
drawingInfo: {
|
|
6
|
+
renderer: {
|
|
7
|
+
type: string;
|
|
8
|
+
field1: string;
|
|
9
|
+
field2: null;
|
|
10
|
+
field3: null;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
static uniqueValueDrawingInfo: {
|
|
15
|
+
drawingInfo: {
|
|
16
|
+
renderer: {
|
|
17
|
+
type: string;
|
|
18
|
+
field1: string;
|
|
19
|
+
field2: null;
|
|
20
|
+
field3: null;
|
|
21
|
+
defaultSymbol: {
|
|
22
|
+
type: string;
|
|
23
|
+
url: string;
|
|
24
|
+
imageData: string;
|
|
25
|
+
contentType: string;
|
|
26
|
+
width: number;
|
|
27
|
+
height: number;
|
|
28
|
+
angle: number;
|
|
29
|
+
xoffset: number;
|
|
30
|
+
yoffset: number;
|
|
31
|
+
};
|
|
32
|
+
defaultLabel: string;
|
|
33
|
+
uniqueValueInfos: {
|
|
34
|
+
symbol: {
|
|
35
|
+
type: string;
|
|
36
|
+
url: string;
|
|
37
|
+
imageData: string;
|
|
38
|
+
contentType: string;
|
|
39
|
+
width: number;
|
|
40
|
+
height: number;
|
|
41
|
+
angle: number;
|
|
42
|
+
xoffset: number;
|
|
43
|
+
yoffset: number;
|
|
44
|
+
};
|
|
45
|
+
value: string;
|
|
46
|
+
label: string;
|
|
47
|
+
description: string;
|
|
48
|
+
}[];
|
|
49
|
+
fieldDelimiter: string;
|
|
50
|
+
};
|
|
51
|
+
transparency: number;
|
|
52
|
+
labelingInfo: null;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
56
|
//# sourceMappingURL=NewYorkDataset.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NewYorkDataset.d.ts","sourceRoot":"","sources":["../../../../src/test/ArcGisFeature/NewYorkDataset.ts"],"names":[],"mappings":"AAOA,qBAAa,cAAc;IAEzB,OAAc,mBAAmB,EAAE,GAAG,
|
|
1
|
+
{"version":3,"file":"NewYorkDataset.d.ts","sourceRoot":"","sources":["../../../../src/test/ArcGisFeature/NewYorkDataset.ts"],"names":[],"mappings":"AAOA,qBAAa,cAAc;IAEzB,OAAc,mBAAmB,EAAE,GAAG,CAwPlC;IAEJ,OAAc,wBAAwB,EAAE,GAAG,CA2CooC;IAE/qC,OAAc,qBAAqB;;;;;;;;;MASjC;IAEF,OAAc,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA0GlC;CACH"}
|