@itwin/map-layers-formats 4.0.0-dev.52 → 4.0.0-dev.55

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.
Files changed (148) hide show
  1. package/.rush/temp/operation/build_ci/state.json +1 -1
  2. package/.rush/temp/operation/cover/state.json +1 -1
  3. package/.rush/temp/operation/docs/state.json +1 -1
  4. package/.rush/temp/package-deps_build_ci.json +3 -3
  5. package/.rush/temp/package-deps_cover.json +3 -3
  6. package/.rush/temp/package-deps_docs.json +3 -3
  7. package/.rush/temp/shrinkwrap-deps.json +44 -51
  8. package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.d.ts +8 -8
  9. package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.js +14 -14
  10. package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.js.map +1 -1
  11. package/lib/cjs/ArcGisFeature/ArcGisFeatureJSON.d.ts +14 -14
  12. package/lib/cjs/ArcGisFeature/ArcGisFeatureJSON.js +132 -132
  13. package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.d.ts +14 -14
  14. package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.js +200 -200
  15. package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.d.ts +44 -44
  16. package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.js +421 -421
  17. package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.js.map +1 -1
  18. package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.d.ts +92 -92
  19. package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.d.ts.map +1 -1
  20. package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.js +82 -82
  21. package/lib/cjs/ArcGisFeature/ArcGisFeatureReader.d.ts +17 -17
  22. package/lib/cjs/ArcGisFeature/ArcGisFeatureReader.js +33 -33
  23. package/lib/cjs/ArcGisFeature/ArcGisFeatureRenderer.d.ts +32 -32
  24. package/lib/cjs/ArcGisFeature/ArcGisFeatureRenderer.js +142 -142
  25. package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.d.ts +16 -16
  26. package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.d.ts.map +1 -1
  27. package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.js +42 -42
  28. package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.d.ts +85 -85
  29. package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.d.ts.map +1 -1
  30. package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.js +189 -189
  31. package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.js.map +1 -1
  32. package/lib/cjs/ArcGisFeature/esriPBuffer.gen.d.ts +1063 -1063
  33. package/lib/cjs/ArcGisFeature/esriPBuffer.gen.js +2270 -2270
  34. package/lib/cjs/map-layers-formats.d.ts +8 -8
  35. package/lib/cjs/map-layers-formats.js +28 -24
  36. package/lib/cjs/map-layers-formats.js.map +1 -1
  37. package/lib/cjs/mapLayersFormats.d.ts +10 -10
  38. package/lib/cjs/mapLayersFormats.js +28 -28
  39. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.d.ts +1 -1
  40. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.js +34 -34
  41. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureJSON.test.d.ts +1 -1
  42. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureJSON.test.js +161 -161
  43. package/lib/cjs/test/ArcGisFeature/ArcGisFeaturePBF.test.d.ts +1 -1
  44. package/lib/cjs/test/ArcGisFeature/ArcGisFeaturePBF.test.js +167 -167
  45. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.d.ts +1 -1
  46. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.js +679 -679
  47. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.js.map +1 -1
  48. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureQuery.test.d.ts +1 -1
  49. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureQuery.test.js +103 -103
  50. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureRenderer.test.d.ts +1 -1
  51. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureRenderer.test.js +214 -214
  52. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.d.ts +1 -1
  53. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.js +94 -94
  54. package/lib/cjs/test/ArcGisFeature/ArcGisSymbologyRenderer.test.d.ts +1 -1
  55. package/lib/cjs/test/ArcGisFeature/ArcGisSymbologyRenderer.test.js +59 -59
  56. package/lib/cjs/test/ArcGisFeature/Mocks.d.ts +6 -6
  57. package/lib/cjs/test/ArcGisFeature/Mocks.js +18 -18
  58. package/lib/cjs/test/ArcGisFeature/NewYorkDataset.d.ts +55 -55
  59. package/lib/cjs/test/ArcGisFeature/NewYorkDataset.js +419 -419
  60. package/lib/cjs/test/ArcGisFeature/NewYorkDataset.js.map +1 -1
  61. package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.d.ts +1042 -1042
  62. package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.js +426 -426
  63. package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.js.map +1 -1
  64. package/lib/cjs/test/coverage/.nyc_output/186e5c44-6980-4d7a-9c52-bb4c9af0ad82.json +1 -0
  65. package/lib/cjs/test/coverage/.nyc_output/processinfo/186e5c44-6980-4d7a-9c52-bb4c9af0ad82.json +1 -0
  66. package/lib/cjs/test/coverage/.nyc_output/processinfo/a4fe7565-9b86-4573-8375-3819c82246d8.json +1 -0
  67. package/lib/cjs/test/coverage/.nyc_output/processinfo/index.json +1 -1
  68. package/lib/cjs/test/coverage/cobertura-coverage.xml +39 -39
  69. package/lib/cjs/test/coverage/lcov-report/index.html +1 -1
  70. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureFormat.ts.html +1 -1
  71. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureJSON.ts.html +1 -1
  72. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeaturePBF.ts.html +1 -1
  73. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureProvider.ts.html +1 -1
  74. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureQuery.ts.html +1 -1
  75. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureReader.ts.html +1 -1
  76. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureRenderer.ts.html +1 -1
  77. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureResponse.ts.html +1 -1
  78. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisSymbologyRenderer.ts.html +1 -1
  79. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/index.html +1 -1
  80. package/lib/cjs/test/coverage/lcov-report/src/index.html +1 -1
  81. package/lib/cjs/test/coverage/lcov-report/src/map-layers-formats.ts.html +1 -1
  82. package/lib/cjs/test/coverage/lcov-report/src/mapLayersFormats.ts.html +1 -1
  83. package/lib/cjs/test/coverage/lcov.info +47 -47
  84. package/lib/cjs/tsconfig.tsbuildinfo +1 -1
  85. package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.d.ts +8 -8
  86. package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.js +11 -10
  87. package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.js.map +1 -1
  88. package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.d.ts +14 -14
  89. package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.js +128 -128
  90. package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.d.ts +14 -14
  91. package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.js +196 -196
  92. package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.d.ts +44 -44
  93. package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.js +418 -417
  94. package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.js.map +1 -1
  95. package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.d.ts +92 -92
  96. package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.d.ts.map +1 -1
  97. package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.js +78 -78
  98. package/lib/esm/ArcGisFeature/ArcGisFeatureReader.d.ts +17 -17
  99. package/lib/esm/ArcGisFeature/ArcGisFeatureReader.js +29 -29
  100. package/lib/esm/ArcGisFeature/ArcGisFeatureRenderer.d.ts +32 -32
  101. package/lib/esm/ArcGisFeature/ArcGisFeatureRenderer.js +138 -138
  102. package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.d.ts +16 -16
  103. package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.d.ts.map +1 -1
  104. package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.js +38 -38
  105. package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.d.ts +85 -85
  106. package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.d.ts.map +1 -1
  107. package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.js +183 -182
  108. package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.js.map +1 -1
  109. package/lib/esm/ArcGisFeature/esriPBuffer.gen.d.ts +1063 -1063
  110. package/lib/esm/ArcGisFeature/esriPBuffer.gen.js +2267 -2267
  111. package/lib/esm/map-layers-formats.d.ts +8 -8
  112. package/lib/esm/map-layers-formats.js +12 -12
  113. package/lib/esm/mapLayersFormats.d.ts +10 -10
  114. package/lib/esm/mapLayersFormats.js +24 -24
  115. package/lib/esm/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.d.ts +1 -1
  116. package/lib/esm/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.js +32 -32
  117. package/lib/esm/test/ArcGisFeature/ArcGisFeatureJSON.test.d.ts +1 -1
  118. package/lib/esm/test/ArcGisFeature/ArcGisFeatureJSON.test.js +159 -159
  119. package/lib/esm/test/ArcGisFeature/ArcGisFeaturePBF.test.d.ts +1 -1
  120. package/lib/esm/test/ArcGisFeature/ArcGisFeaturePBF.test.js +165 -165
  121. package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.d.ts +1 -1
  122. package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.js +677 -677
  123. package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.js.map +1 -1
  124. package/lib/esm/test/ArcGisFeature/ArcGisFeatureQuery.test.d.ts +1 -1
  125. package/lib/esm/test/ArcGisFeature/ArcGisFeatureQuery.test.js +101 -101
  126. package/lib/esm/test/ArcGisFeature/ArcGisFeatureRenderer.test.d.ts +1 -1
  127. package/lib/esm/test/ArcGisFeature/ArcGisFeatureRenderer.test.js +212 -212
  128. package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.d.ts +1 -1
  129. package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.js +92 -92
  130. package/lib/esm/test/ArcGisFeature/ArcGisSymbologyRenderer.test.d.ts +1 -1
  131. package/lib/esm/test/ArcGisFeature/ArcGisSymbologyRenderer.test.js +57 -57
  132. package/lib/esm/test/ArcGisFeature/Mocks.d.ts +6 -6
  133. package/lib/esm/test/ArcGisFeature/Mocks.js +15 -15
  134. package/lib/esm/test/ArcGisFeature/NewYorkDataset.d.ts +55 -55
  135. package/lib/esm/test/ArcGisFeature/NewYorkDataset.js +416 -415
  136. package/lib/esm/test/ArcGisFeature/NewYorkDataset.js.map +1 -1
  137. package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.d.ts +1042 -1042
  138. package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.js +423 -422
  139. package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.js.map +1 -1
  140. package/lib/esm/tsconfig.tsbuildinfo +1 -1
  141. package/lib/test/junit_results.xml +52 -52
  142. package/map-layers-formats.build.log +2 -2
  143. package/package.json +13 -13
  144. package/src/test/ArcGisFeature/ArcGisFeatureProvider.test.ts +21 -21
  145. package/lib/cjs/test/coverage/.nyc_output/579ba75b-0cfc-4b77-82ad-4f939b76443a.json +0 -1
  146. package/lib/cjs/test/coverage/.nyc_output/processinfo/579ba75b-0cfc-4b77-82ad-4f939b76443a.json +0 -1
  147. package/lib/cjs/test/coverage/.nyc_output/processinfo/f0a37b08-29bc-49a6-a608-b82501dccee7.json +0 -1
  148. /package/lib/cjs/test/coverage/.nyc_output/{f0a37b08-29bc-49a6-a608-b82501dccee7.json → a4fe7565-9b86-4573-8375-3819c82246d8.json} +0 -0
@@ -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