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

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 (182) hide show
  1. package/.rush/temp/a8c23e019445581f5d72733a882cf95a9917fdfd.log +10 -0
  2. package/.rush/temp/operation/build_ci/state.json +1 -1
  3. package/.rush/temp/operation/cover/state.json +1 -1
  4. package/.rush/temp/operation/docs/state.json +1 -1
  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/ArcGisFeatureJSON.js.map +1 -1
  14. package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.d.ts +14 -14
  15. package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.js +200 -200
  16. package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.js.map +1 -1
  17. package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.d.ts +44 -44
  18. package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.js +421 -421
  19. package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.js.map +1 -1
  20. package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.d.ts +92 -92
  21. package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.d.ts.map +1 -1
  22. package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.js +82 -82
  23. package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.js.map +1 -1
  24. package/lib/cjs/ArcGisFeature/ArcGisFeatureReader.d.ts +17 -17
  25. package/lib/cjs/ArcGisFeature/ArcGisFeatureReader.js +33 -33
  26. package/lib/cjs/ArcGisFeature/ArcGisFeatureReader.js.map +1 -1
  27. package/lib/cjs/ArcGisFeature/ArcGisFeatureRenderer.d.ts +32 -32
  28. package/lib/cjs/ArcGisFeature/ArcGisFeatureRenderer.js +142 -142
  29. package/lib/cjs/ArcGisFeature/ArcGisFeatureRenderer.js.map +1 -1
  30. package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.d.ts +16 -16
  31. package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.d.ts.map +1 -1
  32. package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.js +42 -42
  33. package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.js.map +1 -1
  34. package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.d.ts +85 -85
  35. package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.d.ts.map +1 -1
  36. package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.js +189 -189
  37. package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.js.map +1 -1
  38. package/lib/cjs/ArcGisFeature/esriPBuffer.gen.d.ts +1063 -1063
  39. package/lib/cjs/ArcGisFeature/esriPBuffer.gen.js +2270 -2270
  40. package/lib/cjs/ArcGisFeature/esriPBuffer.gen.js.map +1 -1
  41. package/lib/cjs/map-layers-formats.d.ts +8 -8
  42. package/lib/cjs/map-layers-formats.js +28 -24
  43. package/lib/cjs/map-layers-formats.js.map +1 -1
  44. package/lib/cjs/mapLayersFormats.d.ts +10 -10
  45. package/lib/cjs/mapLayersFormats.js +28 -28
  46. package/lib/cjs/mapLayersFormats.js.map +1 -1
  47. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.d.ts +1 -1
  48. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.js +34 -34
  49. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.js.map +1 -1
  50. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureJSON.test.d.ts +1 -1
  51. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureJSON.test.js +161 -161
  52. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureJSON.test.js.map +1 -1
  53. package/lib/cjs/test/ArcGisFeature/ArcGisFeaturePBF.test.d.ts +1 -1
  54. package/lib/cjs/test/ArcGisFeature/ArcGisFeaturePBF.test.js +167 -167
  55. package/lib/cjs/test/ArcGisFeature/ArcGisFeaturePBF.test.js.map +1 -1
  56. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.d.ts +1 -1
  57. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.js +679 -679
  58. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.js.map +1 -1
  59. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureQuery.test.d.ts +1 -1
  60. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureQuery.test.js +103 -103
  61. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureQuery.test.js.map +1 -1
  62. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureRenderer.test.d.ts +1 -1
  63. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureRenderer.test.js +214 -214
  64. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureRenderer.test.js.map +1 -1
  65. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.d.ts +1 -1
  66. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.js +94 -94
  67. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.js.map +1 -1
  68. package/lib/cjs/test/ArcGisFeature/ArcGisSymbologyRenderer.test.d.ts +1 -1
  69. package/lib/cjs/test/ArcGisFeature/ArcGisSymbologyRenderer.test.js +59 -59
  70. package/lib/cjs/test/ArcGisFeature/ArcGisSymbologyRenderer.test.js.map +1 -1
  71. package/lib/cjs/test/ArcGisFeature/Mocks.d.ts +6 -6
  72. package/lib/cjs/test/ArcGisFeature/Mocks.js +18 -18
  73. package/lib/cjs/test/ArcGisFeature/Mocks.js.map +1 -1
  74. package/lib/cjs/test/ArcGisFeature/NewYorkDataset.d.ts +55 -55
  75. package/lib/cjs/test/ArcGisFeature/NewYorkDataset.js +419 -419
  76. package/lib/cjs/test/ArcGisFeature/NewYorkDataset.js.map +1 -1
  77. package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.d.ts +1042 -1042
  78. package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.js +426 -426
  79. package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.js.map +1 -1
  80. package/lib/cjs/test/coverage/.nyc_output/ebb32643-cc7e-45e5-85fa-6677a4e8655d.json +1 -0
  81. package/lib/cjs/test/coverage/.nyc_output/processinfo/4b88e819-fa82-47fe-ba3f-d8d412881c57.json +1 -0
  82. package/lib/cjs/test/coverage/.nyc_output/processinfo/ebb32643-cc7e-45e5-85fa-6677a4e8655d.json +1 -0
  83. package/lib/cjs/test/coverage/.nyc_output/processinfo/index.json +1 -1
  84. package/lib/cjs/test/coverage/cobertura-coverage.xml +39 -39
  85. package/lib/cjs/test/coverage/lcov-report/index.html +1 -1
  86. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureFormat.ts.html +1 -1
  87. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureJSON.ts.html +1 -1
  88. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeaturePBF.ts.html +1 -1
  89. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureProvider.ts.html +1 -1
  90. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureQuery.ts.html +1 -1
  91. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureReader.ts.html +1 -1
  92. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureRenderer.ts.html +1 -1
  93. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureResponse.ts.html +1 -1
  94. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisSymbologyRenderer.ts.html +1 -1
  95. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/index.html +1 -1
  96. package/lib/cjs/test/coverage/lcov-report/src/index.html +1 -1
  97. package/lib/cjs/test/coverage/lcov-report/src/map-layers-formats.ts.html +1 -1
  98. package/lib/cjs/test/coverage/lcov-report/src/mapLayersFormats.ts.html +1 -1
  99. package/lib/cjs/test/coverage/lcov.info +47 -47
  100. package/lib/cjs/tsconfig.tsbuildinfo +1 -1
  101. package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.d.ts +8 -8
  102. package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.js +11 -10
  103. package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.js.map +1 -1
  104. package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.d.ts +14 -14
  105. package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.js +128 -128
  106. package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.js.map +1 -1
  107. package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.d.ts +14 -14
  108. package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.js +196 -196
  109. package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.js.map +1 -1
  110. package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.d.ts +44 -44
  111. package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.js +418 -417
  112. package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.js.map +1 -1
  113. package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.d.ts +92 -92
  114. package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.d.ts.map +1 -1
  115. package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.js +78 -78
  116. package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.js.map +1 -1
  117. package/lib/esm/ArcGisFeature/ArcGisFeatureReader.d.ts +17 -17
  118. package/lib/esm/ArcGisFeature/ArcGisFeatureReader.js +29 -29
  119. package/lib/esm/ArcGisFeature/ArcGisFeatureReader.js.map +1 -1
  120. package/lib/esm/ArcGisFeature/ArcGisFeatureRenderer.d.ts +32 -32
  121. package/lib/esm/ArcGisFeature/ArcGisFeatureRenderer.js +138 -138
  122. package/lib/esm/ArcGisFeature/ArcGisFeatureRenderer.js.map +1 -1
  123. package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.d.ts +16 -16
  124. package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.d.ts.map +1 -1
  125. package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.js +38 -38
  126. package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.js.map +1 -1
  127. package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.d.ts +85 -85
  128. package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.d.ts.map +1 -1
  129. package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.js +183 -182
  130. package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.js.map +1 -1
  131. package/lib/esm/ArcGisFeature/esriPBuffer.gen.d.ts +1063 -1063
  132. package/lib/esm/ArcGisFeature/esriPBuffer.gen.js +2267 -2267
  133. package/lib/esm/ArcGisFeature/esriPBuffer.gen.js.map +1 -1
  134. package/lib/esm/map-layers-formats.d.ts +8 -8
  135. package/lib/esm/map-layers-formats.js +12 -12
  136. package/lib/esm/map-layers-formats.js.map +1 -1
  137. package/lib/esm/mapLayersFormats.d.ts +10 -10
  138. package/lib/esm/mapLayersFormats.js +24 -24
  139. package/lib/esm/mapLayersFormats.js.map +1 -1
  140. package/lib/esm/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.d.ts +1 -1
  141. package/lib/esm/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.js +32 -32
  142. package/lib/esm/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.js.map +1 -1
  143. package/lib/esm/test/ArcGisFeature/ArcGisFeatureJSON.test.d.ts +1 -1
  144. package/lib/esm/test/ArcGisFeature/ArcGisFeatureJSON.test.js +159 -159
  145. package/lib/esm/test/ArcGisFeature/ArcGisFeatureJSON.test.js.map +1 -1
  146. package/lib/esm/test/ArcGisFeature/ArcGisFeaturePBF.test.d.ts +1 -1
  147. package/lib/esm/test/ArcGisFeature/ArcGisFeaturePBF.test.js +165 -165
  148. package/lib/esm/test/ArcGisFeature/ArcGisFeaturePBF.test.js.map +1 -1
  149. package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.d.ts +1 -1
  150. package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.js +677 -677
  151. package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.js.map +1 -1
  152. package/lib/esm/test/ArcGisFeature/ArcGisFeatureQuery.test.d.ts +1 -1
  153. package/lib/esm/test/ArcGisFeature/ArcGisFeatureQuery.test.js +101 -101
  154. package/lib/esm/test/ArcGisFeature/ArcGisFeatureQuery.test.js.map +1 -1
  155. package/lib/esm/test/ArcGisFeature/ArcGisFeatureRenderer.test.d.ts +1 -1
  156. package/lib/esm/test/ArcGisFeature/ArcGisFeatureRenderer.test.js +212 -212
  157. package/lib/esm/test/ArcGisFeature/ArcGisFeatureRenderer.test.js.map +1 -1
  158. package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.d.ts +1 -1
  159. package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.js +92 -92
  160. package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.js.map +1 -1
  161. package/lib/esm/test/ArcGisFeature/ArcGisSymbologyRenderer.test.d.ts +1 -1
  162. package/lib/esm/test/ArcGisFeature/ArcGisSymbologyRenderer.test.js +57 -57
  163. package/lib/esm/test/ArcGisFeature/ArcGisSymbologyRenderer.test.js.map +1 -1
  164. package/lib/esm/test/ArcGisFeature/Mocks.d.ts +6 -6
  165. package/lib/esm/test/ArcGisFeature/Mocks.js +15 -15
  166. package/lib/esm/test/ArcGisFeature/Mocks.js.map +1 -1
  167. package/lib/esm/test/ArcGisFeature/NewYorkDataset.d.ts +55 -55
  168. package/lib/esm/test/ArcGisFeature/NewYorkDataset.js +416 -415
  169. package/lib/esm/test/ArcGisFeature/NewYorkDataset.js.map +1 -1
  170. package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.d.ts +1042 -1042
  171. package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.js +423 -422
  172. package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.js.map +1 -1
  173. package/lib/esm/tsconfig.tsbuildinfo +1 -1
  174. package/lib/test/junit_results.xml +47 -47
  175. package/map-layers-formats.build.log +2 -2
  176. package/package.json +13 -13
  177. package/src/test/ArcGisFeature/ArcGisFeatureProvider.test.ts +21 -21
  178. package/.rush/temp/package-deps_build_ci.json +0 -36
  179. package/lib/cjs/test/coverage/.nyc_output/579ba75b-0cfc-4b77-82ad-4f939b76443a.json +0 -1
  180. package/lib/cjs/test/coverage/.nyc_output/processinfo/579ba75b-0cfc-4b77-82ad-4f939b76443a.json +0 -1
  181. package/lib/cjs/test/coverage/.nyc_output/processinfo/f0a37b08-29bc-49a6-a608-b82501dccee7.json +0 -1
  182. /package/lib/cjs/test/coverage/.nyc_output/{f0a37b08-29bc-49a6-a608-b82501dccee7.json → 4b88e819-fa82-47fe-ba3f-d8d412881c57.json} +0 -0
@@ -1,9 +1,9 @@
1
- export * from "./mapLayersFormats";
2
- export * from "./ArcGisFeature/ArcGisFeatureProvider";
3
- /** @docs-package-description
4
- * This package provides support for additional map layer formats that are not included in the @itwin/core-frontend package.
5
- */
6
- /** @docs-group-description MapLayersFormats
7
- * APIs for working with the map layer formats provided by this package.
8
- */
1
+ export * from "./mapLayersFormats";
2
+ export * from "./ArcGisFeature/ArcGisFeatureProvider";
3
+ /** @docs-package-description
4
+ * This package provides support for additional map layer formats that are not included in the @itwin/core-frontend package.
5
+ */
6
+ /** @docs-group-description MapLayersFormats
7
+ * APIs for working with the map layer formats provided by this package.
8
+ */
9
9
  //# sourceMappingURL=map-layers-formats.d.ts.map
@@ -1,13 +1,13 @@
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
- export * from "./mapLayersFormats";
6
- export * from "./ArcGisFeature/ArcGisFeatureProvider";
7
- /** @docs-package-description
8
- * This package provides support for additional map layer formats that are not included in the @itwin/core-frontend package.
9
- */
10
- /** @docs-group-description MapLayersFormats
11
- * APIs for working with the map layer formats provided by this package.
12
- */
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
+ export * from "./mapLayersFormats";
6
+ export * from "./ArcGisFeature/ArcGisFeatureProvider";
7
+ /** @docs-package-description
8
+ * This package provides support for additional map layer formats that are not included in the @itwin/core-frontend package.
9
+ */
10
+ /** @docs-group-description MapLayersFormats
11
+ * APIs for working with the map layer formats provided by this package.
12
+ */
13
13
  //# sourceMappingURL=map-layers-formats.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"map-layers-formats.js","sourceRoot":"","sources":["../../src/map-layers-formats.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,cAAc,oBAAoB,CAAC;AACnC,cAAc,uCAAuC,CAAC;AAEtD;;GAEG;AAEH;;GAEG","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\nexport * from \"./mapLayersFormats\";\r\nexport * from \"./ArcGisFeature/ArcGisFeatureProvider\";\r\n\r\n/** @docs-package-description\r\n * This package provides support for additional map layer formats that are not included in the @itwin/core-frontend package.\r\n */\r\n\r\n/** @docs-group-description MapLayersFormats\r\n * APIs for working with the map layer formats provided by this package.\r\n */\r\n"]}
1
+ {"version":3,"file":"map-layers-formats.js","sourceRoot":"","sources":["../../src/map-layers-formats.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,cAAc,oBAAoB,CAAC;AACnC,cAAc,uCAAuC,CAAC;AAEtD;;GAEG;AAEH;;GAEG","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n\nexport * from \"./mapLayersFormats\";\nexport * from \"./ArcGisFeature/ArcGisFeatureProvider\";\n\n/** @docs-package-description\n * This package provides support for additional map layer formats that are not included in the @itwin/core-frontend package.\n */\n\n/** @docs-group-description MapLayersFormats\n * APIs for working with the map layer formats provided by this package.\n */\n"]}
@@ -1,11 +1,11 @@
1
- /** The primary API for the `@itwin/map-layers-formats` package. It allows the package's features to be [[initialize]]d.
2
- * @beta
3
- */
4
- export declare class MapLayersFormats {
5
- /** Registers the [MapLayerFormat]($frontend)s provided by this package for use with [IModelApp]($frontend).
6
- * Typically, an application will call `MapLayersFormats.initialize` immediately after [IModelApp.startup]($frontend).
7
- * This function has no effect if called **before** [IModelApp.startup]($frontend) or **after** [IModelApp.shutdown]($frontend).
8
- */
9
- static initialize(): void;
10
- }
1
+ /** The primary API for the `@itwin/map-layers-formats` package. It allows the package's features to be [[initialize]]d.
2
+ * @beta
3
+ */
4
+ export declare class MapLayersFormats {
5
+ /** Registers the [MapLayerFormat]($frontend)s provided by this package for use with [IModelApp]($frontend).
6
+ * Typically, an application will call `MapLayersFormats.initialize` immediately after [IModelApp.startup]($frontend).
7
+ * This function has no effect if called **before** [IModelApp.startup]($frontend) or **after** [IModelApp.shutdown]($frontend).
8
+ */
9
+ static initialize(): void;
10
+ }
11
11
  //# sourceMappingURL=mapLayersFormats.d.ts.map
@@ -1,25 +1,25 @@
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
- /** @packageDocumentation
6
- * @module MapLayersFormats
7
- */
8
- import { assert } from "@itwin/core-bentley";
9
- import { IModelApp } from "@itwin/core-frontend";
10
- import { ArcGisFeatureMapLayerFormat } from "./ArcGisFeature/ArcGisFeatureFormat";
11
- /** The primary API for the `@itwin/map-layers-formats` package. It allows the package's features to be [[initialize]]d.
12
- * @beta
13
- */
14
- export class MapLayersFormats {
15
- /** Registers the [MapLayerFormat]($frontend)s provided by this package for use with [IModelApp]($frontend).
16
- * Typically, an application will call `MapLayersFormats.initialize` immediately after [IModelApp.startup]($frontend).
17
- * This function has no effect if called **before** [IModelApp.startup]($frontend) or **after** [IModelApp.shutdown]($frontend).
18
- */
19
- static initialize() {
20
- assert(IModelApp.initialized, "MapLayersFormats.initialize must be called after IModelApp.startup and before IModelApp.shutdown");
21
- if (IModelApp.initialized)
22
- IModelApp.mapLayerFormatRegistry.register(ArcGisFeatureMapLayerFormat);
23
- }
24
- }
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
+ /** @packageDocumentation
6
+ * @module MapLayersFormats
7
+ */
8
+ import { assert } from "@itwin/core-bentley";
9
+ import { IModelApp } from "@itwin/core-frontend";
10
+ import { ArcGisFeatureMapLayerFormat } from "./ArcGisFeature/ArcGisFeatureFormat";
11
+ /** The primary API for the `@itwin/map-layers-formats` package. It allows the package's features to be [[initialize]]d.
12
+ * @beta
13
+ */
14
+ export class MapLayersFormats {
15
+ /** Registers the [MapLayerFormat]($frontend)s provided by this package for use with [IModelApp]($frontend).
16
+ * Typically, an application will call `MapLayersFormats.initialize` immediately after [IModelApp.startup]($frontend).
17
+ * This function has no effect if called **before** [IModelApp.startup]($frontend) or **after** [IModelApp.shutdown]($frontend).
18
+ */
19
+ static initialize() {
20
+ assert(IModelApp.initialized, "MapLayersFormats.initialize must be called after IModelApp.startup and before IModelApp.shutdown");
21
+ if (IModelApp.initialized)
22
+ IModelApp.mapLayerFormatRegistry.register(ArcGisFeatureMapLayerFormat);
23
+ }
24
+ }
25
25
  //# sourceMappingURL=mapLayersFormats.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mapLayersFormats.js","sourceRoot":"","sources":["../../src/mapLayersFormats.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F;;GAEG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAElF;;GAEG;AACH,MAAM,OAAO,gBAAgB;IAC3B;;;OAGG;IACI,MAAM,CAAC,UAAU;QACtB,MAAM,CAAC,SAAS,CAAC,WAAW,EAAE,kGAAkG,CAAC,CAAC;QAClI,IAAI,SAAS,CAAC,WAAW;YACvB,SAAS,CAAC,sBAAsB,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAC3E,CAAC;CACF","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\n/** @packageDocumentation\r\n * @module MapLayersFormats\r\n */\r\nimport { assert } from \"@itwin/core-bentley\";\r\nimport { IModelApp } from \"@itwin/core-frontend\";\r\nimport { ArcGisFeatureMapLayerFormat } from \"./ArcGisFeature/ArcGisFeatureFormat\";\r\n\r\n/** The primary API for the `@itwin/map-layers-formats` package. It allows the package's features to be [[initialize]]d.\r\n * @beta\r\n */\r\nexport class MapLayersFormats {\r\n /** Registers the [MapLayerFormat]($frontend)s provided by this package for use with [IModelApp]($frontend).\r\n * Typically, an application will call `MapLayersFormats.initialize` immediately after [IModelApp.startup]($frontend).\r\n * This function has no effect if called **before** [IModelApp.startup]($frontend) or **after** [IModelApp.shutdown]($frontend).\r\n */\r\n public static initialize() {\r\n assert(IModelApp.initialized, \"MapLayersFormats.initialize must be called after IModelApp.startup and before IModelApp.shutdown\");\r\n if (IModelApp.initialized)\r\n IModelApp.mapLayerFormatRegistry.register(ArcGisFeatureMapLayerFormat);\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"mapLayersFormats.js","sourceRoot":"","sources":["../../src/mapLayersFormats.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F;;GAEG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAElF;;GAEG;AACH,MAAM,OAAO,gBAAgB;IAC3B;;;OAGG;IACI,MAAM,CAAC,UAAU;QACtB,MAAM,CAAC,SAAS,CAAC,WAAW,EAAE,kGAAkG,CAAC,CAAC;QAClI,IAAI,SAAS,CAAC,WAAW;YACvB,SAAS,CAAC,sBAAsB,CAAC,QAAQ,CAAC,2BAA2B,CAAC,CAAC;IAC3E,CAAC;CACF","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n\n/** @packageDocumentation\n * @module MapLayersFormats\n */\nimport { assert } from \"@itwin/core-bentley\";\nimport { IModelApp } from \"@itwin/core-frontend\";\nimport { ArcGisFeatureMapLayerFormat } from \"./ArcGisFeature/ArcGisFeatureFormat\";\n\n/** The primary API for the `@itwin/map-layers-formats` package. It allows the package's features to be [[initialize]]d.\n * @beta\n */\nexport class MapLayersFormats {\n /** Registers the [MapLayerFormat]($frontend)s provided by this package for use with [IModelApp]($frontend).\n * Typically, an application will call `MapLayersFormats.initialize` immediately after [IModelApp.startup]($frontend).\n * This function has no effect if called **before** [IModelApp.startup]($frontend) or **after** [IModelApp.shutdown]($frontend).\n */\n public static initialize() {\n assert(IModelApp.initialized, \"MapLayersFormats.initialize must be called after IModelApp.startup and before IModelApp.shutdown\");\n if (IModelApp.initialized)\n IModelApp.mapLayerFormatRegistry.register(ArcGisFeatureMapLayerFormat);\n }\n}\n"]}
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=ArcGisFeatureFeatureFormats.test.d.ts.map
@@ -1,33 +1,33 @@
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 { ImageMapLayerSettings } from "@itwin/core-common";
6
- import { ArcGisUtilities, MapLayerSourceStatus, } from "@itwin/core-frontend";
7
- import { expect } from "chai";
8
- import { ArcGisFeatureMapLayerFormat } from "../../ArcGisFeature/ArcGisFeatureFormat";
9
- import { esriFeatureSampleSource } from "./Mocks";
10
- import * as sinon from "sinon";
11
- describe("ArcGisFeaturePBF", () => {
12
- const sandbox = sinon.createSandbox();
13
- afterEach(async () => {
14
- sandbox.restore();
15
- });
16
- it("should createImageryProvider", async () => {
17
- const provider = ArcGisFeatureMapLayerFormat.createImageryProvider(ImageMapLayerSettings.fromJSON(esriFeatureSampleSource));
18
- expect(provider).to.not.undefined;
19
- });
20
- it("should validateSource", async () => {
21
- const fakeMethod = async (_url, _formatId, _filter, _userName, _password, _ignoreCache) => {
22
- return { status: MapLayerSourceStatus.Valid };
23
- };
24
- const validateSourceStub = sinon.stub(ArcGisUtilities, "validateSource").callsFake(fakeMethod);
25
- await ArcGisFeatureMapLayerFormat.validateSource(esriFeatureSampleSource.url);
26
- expect(validateSourceStub.calledOnce).to.be.true;
27
- const firstCall = validateSourceStub.getCalls()[0];
28
- expect(firstCall.args[0]).to.equals(esriFeatureSampleSource.url);
29
- expect(firstCall.args[1]).to.equals(ArcGisFeatureMapLayerFormat.formatId);
30
- expect(firstCall.args[2]).to.eqls(["query"]);
31
- });
32
- });
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 { ImageMapLayerSettings } from "@itwin/core-common";
6
+ import { ArcGisUtilities, MapLayerSourceStatus, } from "@itwin/core-frontend";
7
+ import { expect } from "chai";
8
+ import { ArcGisFeatureMapLayerFormat } from "../../ArcGisFeature/ArcGisFeatureFormat";
9
+ import { esriFeatureSampleSource } from "./Mocks";
10
+ import * as sinon from "sinon";
11
+ describe("ArcGisFeaturePBF", () => {
12
+ const sandbox = sinon.createSandbox();
13
+ afterEach(async () => {
14
+ sandbox.restore();
15
+ });
16
+ it("should createImageryProvider", async () => {
17
+ const provider = ArcGisFeatureMapLayerFormat.createImageryProvider(ImageMapLayerSettings.fromJSON(esriFeatureSampleSource));
18
+ expect(provider).to.not.undefined;
19
+ });
20
+ it("should validateSource", async () => {
21
+ const fakeMethod = async (_url, _formatId, _filter, _userName, _password, _ignoreCache) => {
22
+ return { status: MapLayerSourceStatus.Valid };
23
+ };
24
+ const validateSourceStub = sinon.stub(ArcGisUtilities, "validateSource").callsFake(fakeMethod);
25
+ await ArcGisFeatureMapLayerFormat.validateSource(esriFeatureSampleSource.url);
26
+ expect(validateSourceStub.calledOnce).to.be.true;
27
+ const firstCall = validateSourceStub.getCalls()[0];
28
+ expect(firstCall.args[0]).to.equals(esriFeatureSampleSource.url);
29
+ expect(firstCall.args[1]).to.equals(ArcGisFeatureMapLayerFormat.formatId);
30
+ expect(firstCall.args[2]).to.eqls(["query"]);
31
+ });
32
+ });
33
33
  //# sourceMappingURL=ArcGisFeatureFeatureFormats.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ArcGisFeatureFeatureFormats.test.js","sourceRoot":"","sources":["../../../../src/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EACL,eAAe,EACf,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAEhC,MAAM,OAAO,GAAG,KAAK,CAAC,aAAa,EAAE,CAAC;IAEtC,SAAS,CAAC,KAAK,IAAI,EAAE;QACnB,OAAO,CAAC,OAAO,EAAE,CAAC;IACpB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8BAA8B,EAAE,KAAK,IAAI,EAAE;QAC5C,MAAM,QAAQ,GAAG,2BAA2B,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC,CAAC;QAC5H,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC;IACpC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,uBAAuB,EAAE,KAAK,IAAI,EAAE;QAErC,MAAM,UAAU,GAAG,KAAK,EAAE,IAAY,EAAE,SAAiB,EAAC,OAAiB,EAAE,SAAkB,EAAE,SAAkB,EAAE,YAAsB,EAAE,EAAE;YAC7I,OAAO,EAAC,MAAM,EAAE,oBAAoB,CAAC,KAAK,EAAC,CAAC;QAE9C,CAAC,CAAC;QACF,MAAM,kBAAkB,GAAG,KAAK,CAAC,IAAI,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAE/F,MAAM,2BAA2B,CAAC,cAAc,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;QAE9E,MAAM,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;QACjD,MAAM,SAAS,GAAG,kBAAkB,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC;QACnD,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;QACjE,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,2BAA2B,CAAC,QAAQ,CAAC,CAAC;QAC1E,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,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 { ImageMapLayerSettings } from \"@itwin/core-common\";\r\nimport {\r\n ArcGisUtilities,\r\n MapLayerSourceStatus,\r\n} from \"@itwin/core-frontend\";\r\nimport { expect } from \"chai\";\r\nimport { ArcGisFeatureMapLayerFormat } from \"../../ArcGisFeature/ArcGisFeatureFormat\";\r\nimport { esriFeatureSampleSource } from \"./Mocks\";\r\nimport * as sinon from \"sinon\";\r\n\r\ndescribe(\"ArcGisFeaturePBF\", () => {\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 createImageryProvider\", async () => {\r\n const provider = ArcGisFeatureMapLayerFormat.createImageryProvider(ImageMapLayerSettings.fromJSON(esriFeatureSampleSource));\r\n expect(provider).to.not.undefined;\r\n });\r\n\r\n it(\"should validateSource\", async () => {\r\n\r\n const fakeMethod = async (_url: string, _formatId: string,_filter: string[], _userName?: string, _password?: string, _ignoreCache?: boolean) => {\r\n return {status: MapLayerSourceStatus.Valid};\r\n\r\n };\r\n const validateSourceStub = sinon.stub(ArcGisUtilities, \"validateSource\").callsFake(fakeMethod);\r\n\r\n await ArcGisFeatureMapLayerFormat.validateSource(esriFeatureSampleSource.url);\r\n\r\n expect(validateSourceStub.calledOnce).to.be.true;\r\n const firstCall = validateSourceStub.getCalls()[0];\r\n expect(firstCall.args[0]).to.equals(esriFeatureSampleSource.url);\r\n expect(firstCall.args[1]).to.equals(ArcGisFeatureMapLayerFormat.formatId);\r\n expect(firstCall.args[2]).to.eqls([\"query\"]);\r\n });\r\n\r\n});\r\n"]}
1
+ {"version":3,"file":"ArcGisFeatureFeatureFormats.test.js","sourceRoot":"","sources":["../../../../src/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.ts"],"names":[],"mappings":"AAAA;;;+FAG+F;AAE/F,OAAO,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EACL,eAAe,EACf,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAC;AAC9B,OAAO,EAAE,2BAA2B,EAAE,MAAM,yCAAyC,CAAC;AACtF,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAClD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,QAAQ,CAAC,kBAAkB,EAAE,GAAG,EAAE;IAEhC,MAAM,OAAO,GAAG,KAAK,CAAC,aAAa,EAAE,CAAC;IAEtC,SAAS,CAAC,KAAK,IAAI,EAAE;QACnB,OAAO,CAAC,OAAO,EAAE,CAAC;IACpB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8BAA8B,EAAE,KAAK,IAAI,EAAE;QAC5C,MAAM,QAAQ,GAAG,2BAA2B,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAC,CAAC;QAC5H,MAAM,CAAC,QAAQ,CAAC,CAAC,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC;IACpC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,uBAAuB,EAAE,KAAK,IAAI,EAAE;QAErC,MAAM,UAAU,GAAG,KAAK,EAAE,IAAY,EAAE,SAAiB,EAAC,OAAiB,EAAE,SAAkB,EAAE,SAAkB,EAAE,YAAsB,EAAE,EAAE;YAC7I,OAAO,EAAC,MAAM,EAAE,oBAAoB,CAAC,KAAK,EAAC,CAAC;QAE9C,CAAC,CAAC;QACF,MAAM,kBAAkB,GAAG,KAAK,CAAC,IAAI,CAAC,eAAe,EAAE,gBAAgB,CAAC,CAAC,SAAS,CAAC,UAAU,CAAC,CAAC;QAE/F,MAAM,2BAA2B,CAAC,cAAc,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;QAE9E,MAAM,CAAC,kBAAkB,CAAC,UAAU,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,IAAI,CAAC;QACjD,MAAM,SAAS,GAAG,kBAAkB,CAAC,QAAQ,EAAE,CAAC,CAAC,CAAC,CAAC;QACnD,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,uBAAuB,CAAC,GAAG,CAAC,CAAC;QACjE,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,MAAM,CAAC,2BAA2B,CAAC,QAAQ,CAAC,CAAC;QAC1E,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;AAEL,CAAC,CAAC,CAAC","sourcesContent":["/*---------------------------------------------------------------------------------------------\n* Copyright (c) Bentley Systems, Incorporated. All rights reserved.\n* See LICENSE.md in the project root for license terms and full copyright notice.\n*--------------------------------------------------------------------------------------------*/\n\nimport { ImageMapLayerSettings } from \"@itwin/core-common\";\nimport {\n ArcGisUtilities,\n MapLayerSourceStatus,\n} from \"@itwin/core-frontend\";\nimport { expect } from \"chai\";\nimport { ArcGisFeatureMapLayerFormat } from \"../../ArcGisFeature/ArcGisFeatureFormat\";\nimport { esriFeatureSampleSource } from \"./Mocks\";\nimport * as sinon from \"sinon\";\n\ndescribe(\"ArcGisFeaturePBF\", () => {\n\n const sandbox = sinon.createSandbox();\n\n afterEach(async () => {\n sandbox.restore();\n });\n\n it(\"should createImageryProvider\", async () => {\n const provider = ArcGisFeatureMapLayerFormat.createImageryProvider(ImageMapLayerSettings.fromJSON(esriFeatureSampleSource));\n expect(provider).to.not.undefined;\n });\n\n it(\"should validateSource\", async () => {\n\n const fakeMethod = async (_url: string, _formatId: string,_filter: string[], _userName?: string, _password?: string, _ignoreCache?: boolean) => {\n return {status: MapLayerSourceStatus.Valid};\n\n };\n const validateSourceStub = sinon.stub(ArcGisUtilities, \"validateSource\").callsFake(fakeMethod);\n\n await ArcGisFeatureMapLayerFormat.validateSource(esriFeatureSampleSource.url);\n\n expect(validateSourceStub.calledOnce).to.be.true;\n const firstCall = validateSourceStub.getCalls()[0];\n expect(firstCall.args[0]).to.equals(esriFeatureSampleSource.url);\n expect(firstCall.args[1]).to.equals(ArcGisFeatureMapLayerFormat.formatId);\n expect(firstCall.args[2]).to.eqls([\"query\"]);\n });\n\n});\n"]}
@@ -1,2 +1,2 @@
1
- export {};
1
+ export {};
2
2
  //# sourceMappingURL=ArcGisFeatureJSON.test.d.ts.map
@@ -1,160 +1,160 @@
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 { Logger } from "@itwin/core-bentley";
6
- import { ImageMapLayerSettings } from "@itwin/core-common";
7
- import { expect } from "chai";
8
- import * as sinon from "sinon";
9
- import { ArcGisFeatureMapLayerFormat } from "../../ArcGisFeature/ArcGisFeatureFormat";
10
- import { ArcGisFeatureJSON } from "../../ArcGisFeature/ArcGisFeatureJSON";
11
- import { ArcGisFeatureRenderer } from "../../ArcGisFeature/ArcGisFeatureRenderer";
12
- import { ArcGisSymbologyRenderer } from "../../ArcGisFeature/ArcGisSymbologyRenderer";
13
- import { fakeContext } from "./Mocks";
14
- import { PhillyLandmarksDataset } from "./PhillyLandmarksDataset";
15
- const esriFeatureSampleSource = { name: "dummyFeatureLayer", url: "https://dummy.com", formatId: ArcGisFeatureMapLayerFormat.formatId };
16
- const createFeatureJSON = () => {
17
- const settings = ImageMapLayerSettings.fromJSON(esriFeatureSampleSource);
18
- const featurePbf = new ArcGisFeatureJSON(settings, { name: "SampleLayer" });
19
- // Locale configuration depends on the testing machine (i.e. linux vs windows),
20
- // so we need to force date display to Iso to get a consistent value.
21
- // In real scenario, we still want dates to be displayed in end-user's locale.
22
- featurePbf.forceDateDisplayValueToIso = true;
23
- return featurePbf;
24
- };
25
- describe("ArcGisFeatureJSON", () => {
26
- const sandbox = sinon.createSandbox();
27
- afterEach(async () => {
28
- sandbox.restore();
29
- });
30
- it("should read FeatureInfo in JSON (phillyTansportation)", async () => {
31
- const featureJson = createFeatureJSON();
32
- // In some cases, PBF gives more floating-point precision than JSON.
33
- // Since I want to use the same output reference for both formats, I force a max precision of 8.
34
- featureJson.floatPrecision = 8;
35
- const results = [];
36
- featureJson.readFeatureInfo({ data: PhillyLandmarksDataset.phillyTransportationGetFeatureInfoQueryJson, exceedTransferLimit: false }, results);
37
- expect(JSON.stringify(results)).equals(JSON.stringify(PhillyLandmarksDataset.phillyTansportationGetFeatureInfoResultRef));
38
- });
39
- it("should read FeatureInfo in JSON (phillyAirport)", async () => {
40
- const settings = ImageMapLayerSettings.fromJSON(esriFeatureSampleSource);
41
- const featureJson = new ArcGisFeatureJSON(settings, { name: "SampleLayer" });
42
- // In some cases, PBF gives more floating-point precision than JSON.
43
- // Since I want to use the same output reference for both formats, I force a max precision of 8.
44
- featureJson.floatPrecision = 8;
45
- const results = [];
46
- const data = JSON.parse(PhillyLandmarksDataset.phillyAirportGetFeatureInfoQueryJson);
47
- featureJson.readFeatureInfo({ data, exceedTransferLimit: false }, results);
48
- const _test = JSON.stringify(results);
49
- expect(_test).equals(JSON.stringify(PhillyLandmarksDataset.phillyAirportGetFeatureInfoResultRef));
50
- });
51
- it("should deflate coordinates array", async () => {
52
- // Simple deflate stride = 2
53
- let doubleArray = [[1, 2], [3, 4]];
54
- let deflated = [];
55
- let offset = ArcGisFeatureJSON.deflateCoordinates(doubleArray, deflated, 2, 0);
56
- expect(offset).to.equals(4);
57
- expect(deflated).to.eql([1, 2, 3, 4]);
58
- /// Check offset with stride = 2
59
- doubleArray = [[5, 6]];
60
- offset = ArcGisFeatureJSON.deflateCoordinates(doubleArray, deflated, 2, offset);
61
- expect(offset).to.equals(6);
62
- expect(deflated).to.eql([1, 2, 3, 4, 5, 6]);
63
- // Simple deflate stride = 3
64
- doubleArray = [[1, 2, 3], [4, 5, 6]];
65
- deflated = [];
66
- offset = ArcGisFeatureJSON.deflateCoordinates(doubleArray, deflated, 3, 0);
67
- expect(offset).to.equals(6);
68
- expect(deflated).to.eql([1, 2, 3, 4, 5, 6]);
69
- /// Check offset with stride = 3
70
- doubleArray = [[7, 8, 9]];
71
- offset = ArcGisFeatureJSON.deflateCoordinates(doubleArray, deflated, 3, offset);
72
- expect(offset).to.equals(9);
73
- expect(deflated).to.eql([1, 2, 3, 4, 5, 6, 7, 8, 9]);
74
- });
75
- it("should readAndRender single ring polygon feature", async () => {
76
- const featureJson = createFeatureJSON();
77
- const data = PhillyLandmarksDataset.phillySimplePolyQueryJson;
78
- const symbolRenderer = new ArcGisSymbologyRenderer(data.geometryType, PhillyLandmarksDataset.phillySimplePolyDrawingInfo.drawingInfo.renderer);
79
- const featureRenderer = new ArcGisFeatureRenderer(fakeContext, symbolRenderer);
80
- const renderPathSpy = sinon.spy(featureRenderer, "renderPath");
81
- featureJson.readAndRender({ data, exceedTransferLimit: false }, featureRenderer);
82
- expect(renderPathSpy.calledOnce);
83
- const firstCall = renderPathSpy.getCalls()[0];
84
- expect(firstCall.args[0]).to.eql(PhillyLandmarksDataset.phillySimplePolyQueryPbf.queryResult.featureResult.features[0].geometry.lengths); // geometryLengths
85
- expect(firstCall.args[1]).to.eql(PhillyLandmarksDataset.phillySimplePolyQueryPbf.queryResult.featureResult.features[0].geometry.coords); // geometryCoords
86
- expect(firstCall.args[2]).to.eql(true); // fill
87
- expect(firstCall.args[3]).to.eql(2); // stride
88
- });
89
- it("should readAndRender multiple ring polygon feature", async () => {
90
- const featureJson = createFeatureJSON();
91
- const data = PhillyLandmarksDataset.phillyDoubleRingPolyQueryJson;
92
- const symbolRenderer = new ArcGisSymbologyRenderer(data.geometryType, PhillyLandmarksDataset.phillySimplePolyDrawingInfo.drawingInfo.renderer);
93
- const featureRenderer = new ArcGisFeatureRenderer(fakeContext, symbolRenderer);
94
- const renderPathSpy = sinon.spy(featureRenderer, "renderPath");
95
- featureJson.readAndRender({ data, exceedTransferLimit: false }, featureRenderer);
96
- expect(renderPathSpy.calledOnce);
97
- const firstCall = renderPathSpy.getCalls()[0];
98
- expect(firstCall.args[0]).to.eql(PhillyLandmarksDataset.phillyDoubleRingPolyQueryPbf.queryResult.featureResult.features[0].geometry.lengths); // geometryLengths
99
- expect(firstCall.args[1]).to.eql(PhillyLandmarksDataset.phillyDoubleRingPolyQueryPbf.queryResult.featureResult.features[0].geometry.coords); // geometryCoords
100
- expect(firstCall.args[2]).to.eql(true); // fill
101
- expect(firstCall.args[3]).to.eql(2); // stride
102
- });
103
- it("should readAndRender simple path", async () => {
104
- const featureJson = createFeatureJSON();
105
- const data = PhillyLandmarksDataset.phillySimplePathQueryJson;
106
- const symbolRenderer = new ArcGisSymbologyRenderer(data.geometryType, PhillyLandmarksDataset.phillySimpleLineDrawingInfo.drawingInfo.renderer);
107
- const featureRenderer = new ArcGisFeatureRenderer(fakeContext, symbolRenderer);
108
- const renderPathSpy = sinon.spy(featureRenderer, "renderPath");
109
- featureJson.readAndRender({ data, exceedTransferLimit: false }, featureRenderer);
110
- expect(renderPathSpy.calledOnce);
111
- const geometryCoords = [360, 491, -2, -1, -1, 0, -1, 0, -1, 0, -1, 1, -4, 1, -10, 2, -15, 3, -1, 0, -1, 0, -2, 0, -1, 0, -1, 0, -1, -1, -1, 0, -2, -1, 0, -1, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0];
112
- const firstCall = renderPathSpy.getCalls()[0];
113
- expect(firstCall.args[0]).to.eql([24]); // geometryLengths
114
- expect(firstCall.args[1]).to.eql(geometryCoords); // geometryCoords
115
- expect(firstCall.args[2]).to.eql(false); // fill
116
- expect(firstCall.args[3]).to.eql(2); // stride
117
- });
118
- it("should readAndRender multi path", async () => {
119
- const featureJson = createFeatureJSON();
120
- const data = PhillyLandmarksDataset.phillyMultiPathQueryJson;
121
- const symbolRenderer = new ArcGisSymbologyRenderer(data.geometryType, PhillyLandmarksDataset.phillySimpleLineDrawingInfo.drawingInfo.renderer);
122
- const featureRenderer = new ArcGisFeatureRenderer(fakeContext, symbolRenderer);
123
- const renderPathSpy = sinon.spy(featureRenderer, "renderPath");
124
- featureJson.readAndRender({ data, exceedTransferLimit: false }, featureRenderer);
125
- expect(renderPathSpy.calledOnce);
126
- // Pbf contains already the right output format expect, lets rely on that.
127
- const firstCall = renderPathSpy.getCalls()[0];
128
- expect(firstCall.args[0]).to.eql(PhillyLandmarksDataset.phillyMultiPathQueryPbf.queryResult.featureResult.features[0].geometry.lengths);
129
- expect(firstCall.args[1]).to.eql(PhillyLandmarksDataset.phillyMultiPathQueryPbf.queryResult.featureResult.features[0].geometry.coords);
130
- expect(firstCall.args[2]).to.eql(false); // fill
131
- expect(firstCall.args[3]).to.eql(2); // stride
132
- });
133
- it("should readAndRender simple point", async () => {
134
- const featureJson = createFeatureJSON();
135
- const data = PhillyLandmarksDataset.phillySimplePointQueryJson;
136
- const symbolRenderer = new ArcGisSymbologyRenderer(data.geometryType, PhillyLandmarksDataset.phillySimplePointDrawingInfo.drawingInfo.renderer);
137
- const featureRenderer = new ArcGisFeatureRenderer(fakeContext, symbolRenderer);
138
- const spy = sinon.spy(featureRenderer, "renderPoint");
139
- featureJson.readAndRender({ data, exceedTransferLimit: false }, featureRenderer);
140
- expect(spy.calledOnce);
141
- // Pbf contains already the right output format expect, lets rely on that.
142
- const geometryCoords = PhillyLandmarksDataset.phillySimplePointQueryPbf.queryResult.featureResult.features[0].geometry.coords;
143
- const firstCall = spy.getCalls()[0];
144
- expect(firstCall.args[0]).to.eql(PhillyLandmarksDataset.phillySimplePointQueryPbf.queryResult.featureResult.features[0].geometry.lengths); // geometryLengths
145
- expect(firstCall.args[1]).to.eql(geometryCoords); // geometryCoords
146
- expect(firstCall.args[2]).to.eql(2); // stride
147
- });
148
- it("should log error when readAndRender / readFeatureInfo is called invalid response Data", async () => {
149
- const featureJson = createFeatureJSON();
150
- const symbolRenderer = new ArcGisSymbologyRenderer("esriGeometryAny", PhillyLandmarksDataset.phillySimplePointDrawingInfo.drawingInfo.renderer);
151
- const featureRenderer = new ArcGisFeatureRenderer(fakeContext, symbolRenderer);
152
- const logErrorSpy = sandbox.spy(Logger, "logError");
153
- featureJson.readAndRender({ data: { test: "test" }, exceedTransferLimit: false }, featureRenderer);
154
- expect(logErrorSpy.calledOnce);
155
- logErrorSpy.resetHistory();
156
- featureJson.readFeatureInfo({ data: { test: "test" }, exceedTransferLimit: false }, []);
157
- expect(logErrorSpy.calledOnce);
158
- });
159
- });
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 { Logger } from "@itwin/core-bentley";
6
+ import { ImageMapLayerSettings } from "@itwin/core-common";
7
+ import { expect } from "chai";
8
+ import * as sinon from "sinon";
9
+ import { ArcGisFeatureMapLayerFormat } from "../../ArcGisFeature/ArcGisFeatureFormat";
10
+ import { ArcGisFeatureJSON } from "../../ArcGisFeature/ArcGisFeatureJSON";
11
+ import { ArcGisFeatureRenderer } from "../../ArcGisFeature/ArcGisFeatureRenderer";
12
+ import { ArcGisSymbologyRenderer } from "../../ArcGisFeature/ArcGisSymbologyRenderer";
13
+ import { fakeContext } from "./Mocks";
14
+ import { PhillyLandmarksDataset } from "./PhillyLandmarksDataset";
15
+ const esriFeatureSampleSource = { name: "dummyFeatureLayer", url: "https://dummy.com", formatId: ArcGisFeatureMapLayerFormat.formatId };
16
+ const createFeatureJSON = () => {
17
+ const settings = ImageMapLayerSettings.fromJSON(esriFeatureSampleSource);
18
+ const featurePbf = new ArcGisFeatureJSON(settings, { name: "SampleLayer" });
19
+ // Locale configuration depends on the testing machine (i.e. linux vs windows),
20
+ // so we need to force date display to Iso to get a consistent value.
21
+ // In real scenario, we still want dates to be displayed in end-user's locale.
22
+ featurePbf.forceDateDisplayValueToIso = true;
23
+ return featurePbf;
24
+ };
25
+ describe("ArcGisFeatureJSON", () => {
26
+ const sandbox = sinon.createSandbox();
27
+ afterEach(async () => {
28
+ sandbox.restore();
29
+ });
30
+ it("should read FeatureInfo in JSON (phillyTansportation)", async () => {
31
+ const featureJson = createFeatureJSON();
32
+ // In some cases, PBF gives more floating-point precision than JSON.
33
+ // Since I want to use the same output reference for both formats, I force a max precision of 8.
34
+ featureJson.floatPrecision = 8;
35
+ const results = [];
36
+ featureJson.readFeatureInfo({ data: PhillyLandmarksDataset.phillyTransportationGetFeatureInfoQueryJson, exceedTransferLimit: false }, results);
37
+ expect(JSON.stringify(results)).equals(JSON.stringify(PhillyLandmarksDataset.phillyTansportationGetFeatureInfoResultRef));
38
+ });
39
+ it("should read FeatureInfo in JSON (phillyAirport)", async () => {
40
+ const settings = ImageMapLayerSettings.fromJSON(esriFeatureSampleSource);
41
+ const featureJson = new ArcGisFeatureJSON(settings, { name: "SampleLayer" });
42
+ // In some cases, PBF gives more floating-point precision than JSON.
43
+ // Since I want to use the same output reference for both formats, I force a max precision of 8.
44
+ featureJson.floatPrecision = 8;
45
+ const results = [];
46
+ const data = JSON.parse(PhillyLandmarksDataset.phillyAirportGetFeatureInfoQueryJson);
47
+ featureJson.readFeatureInfo({ data, exceedTransferLimit: false }, results);
48
+ const _test = JSON.stringify(results);
49
+ expect(_test).equals(JSON.stringify(PhillyLandmarksDataset.phillyAirportGetFeatureInfoResultRef));
50
+ });
51
+ it("should deflate coordinates array", async () => {
52
+ // Simple deflate stride = 2
53
+ let doubleArray = [[1, 2], [3, 4]];
54
+ let deflated = [];
55
+ let offset = ArcGisFeatureJSON.deflateCoordinates(doubleArray, deflated, 2, 0);
56
+ expect(offset).to.equals(4);
57
+ expect(deflated).to.eql([1, 2, 3, 4]);
58
+ /// Check offset with stride = 2
59
+ doubleArray = [[5, 6]];
60
+ offset = ArcGisFeatureJSON.deflateCoordinates(doubleArray, deflated, 2, offset);
61
+ expect(offset).to.equals(6);
62
+ expect(deflated).to.eql([1, 2, 3, 4, 5, 6]);
63
+ // Simple deflate stride = 3
64
+ doubleArray = [[1, 2, 3], [4, 5, 6]];
65
+ deflated = [];
66
+ offset = ArcGisFeatureJSON.deflateCoordinates(doubleArray, deflated, 3, 0);
67
+ expect(offset).to.equals(6);
68
+ expect(deflated).to.eql([1, 2, 3, 4, 5, 6]);
69
+ /// Check offset with stride = 3
70
+ doubleArray = [[7, 8, 9]];
71
+ offset = ArcGisFeatureJSON.deflateCoordinates(doubleArray, deflated, 3, offset);
72
+ expect(offset).to.equals(9);
73
+ expect(deflated).to.eql([1, 2, 3, 4, 5, 6, 7, 8, 9]);
74
+ });
75
+ it("should readAndRender single ring polygon feature", async () => {
76
+ const featureJson = createFeatureJSON();
77
+ const data = PhillyLandmarksDataset.phillySimplePolyQueryJson;
78
+ const symbolRenderer = new ArcGisSymbologyRenderer(data.geometryType, PhillyLandmarksDataset.phillySimplePolyDrawingInfo.drawingInfo.renderer);
79
+ const featureRenderer = new ArcGisFeatureRenderer(fakeContext, symbolRenderer);
80
+ const renderPathSpy = sinon.spy(featureRenderer, "renderPath");
81
+ featureJson.readAndRender({ data, exceedTransferLimit: false }, featureRenderer);
82
+ expect(renderPathSpy.calledOnce);
83
+ const firstCall = renderPathSpy.getCalls()[0];
84
+ expect(firstCall.args[0]).to.eql(PhillyLandmarksDataset.phillySimplePolyQueryPbf.queryResult.featureResult.features[0].geometry.lengths); // geometryLengths
85
+ expect(firstCall.args[1]).to.eql(PhillyLandmarksDataset.phillySimplePolyQueryPbf.queryResult.featureResult.features[0].geometry.coords); // geometryCoords
86
+ expect(firstCall.args[2]).to.eql(true); // fill
87
+ expect(firstCall.args[3]).to.eql(2); // stride
88
+ });
89
+ it("should readAndRender multiple ring polygon feature", async () => {
90
+ const featureJson = createFeatureJSON();
91
+ const data = PhillyLandmarksDataset.phillyDoubleRingPolyQueryJson;
92
+ const symbolRenderer = new ArcGisSymbologyRenderer(data.geometryType, PhillyLandmarksDataset.phillySimplePolyDrawingInfo.drawingInfo.renderer);
93
+ const featureRenderer = new ArcGisFeatureRenderer(fakeContext, symbolRenderer);
94
+ const renderPathSpy = sinon.spy(featureRenderer, "renderPath");
95
+ featureJson.readAndRender({ data, exceedTransferLimit: false }, featureRenderer);
96
+ expect(renderPathSpy.calledOnce);
97
+ const firstCall = renderPathSpy.getCalls()[0];
98
+ expect(firstCall.args[0]).to.eql(PhillyLandmarksDataset.phillyDoubleRingPolyQueryPbf.queryResult.featureResult.features[0].geometry.lengths); // geometryLengths
99
+ expect(firstCall.args[1]).to.eql(PhillyLandmarksDataset.phillyDoubleRingPolyQueryPbf.queryResult.featureResult.features[0].geometry.coords); // geometryCoords
100
+ expect(firstCall.args[2]).to.eql(true); // fill
101
+ expect(firstCall.args[3]).to.eql(2); // stride
102
+ });
103
+ it("should readAndRender simple path", async () => {
104
+ const featureJson = createFeatureJSON();
105
+ const data = PhillyLandmarksDataset.phillySimplePathQueryJson;
106
+ const symbolRenderer = new ArcGisSymbologyRenderer(data.geometryType, PhillyLandmarksDataset.phillySimpleLineDrawingInfo.drawingInfo.renderer);
107
+ const featureRenderer = new ArcGisFeatureRenderer(fakeContext, symbolRenderer);
108
+ const renderPathSpy = sinon.spy(featureRenderer, "renderPath");
109
+ featureJson.readAndRender({ data, exceedTransferLimit: false }, featureRenderer);
110
+ expect(renderPathSpy.calledOnce);
111
+ const geometryCoords = [360, 491, -2, -1, -1, 0, -1, 0, -1, 0, -1, 1, -4, 1, -10, 2, -15, 3, -1, 0, -1, 0, -2, 0, -1, 0, -1, 0, -1, -1, -1, 0, -2, -1, 0, -1, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0, -1, 0];
112
+ const firstCall = renderPathSpy.getCalls()[0];
113
+ expect(firstCall.args[0]).to.eql([24]); // geometryLengths
114
+ expect(firstCall.args[1]).to.eql(geometryCoords); // geometryCoords
115
+ expect(firstCall.args[2]).to.eql(false); // fill
116
+ expect(firstCall.args[3]).to.eql(2); // stride
117
+ });
118
+ it("should readAndRender multi path", async () => {
119
+ const featureJson = createFeatureJSON();
120
+ const data = PhillyLandmarksDataset.phillyMultiPathQueryJson;
121
+ const symbolRenderer = new ArcGisSymbologyRenderer(data.geometryType, PhillyLandmarksDataset.phillySimpleLineDrawingInfo.drawingInfo.renderer);
122
+ const featureRenderer = new ArcGisFeatureRenderer(fakeContext, symbolRenderer);
123
+ const renderPathSpy = sinon.spy(featureRenderer, "renderPath");
124
+ featureJson.readAndRender({ data, exceedTransferLimit: false }, featureRenderer);
125
+ expect(renderPathSpy.calledOnce);
126
+ // Pbf contains already the right output format expect, lets rely on that.
127
+ const firstCall = renderPathSpy.getCalls()[0];
128
+ expect(firstCall.args[0]).to.eql(PhillyLandmarksDataset.phillyMultiPathQueryPbf.queryResult.featureResult.features[0].geometry.lengths);
129
+ expect(firstCall.args[1]).to.eql(PhillyLandmarksDataset.phillyMultiPathQueryPbf.queryResult.featureResult.features[0].geometry.coords);
130
+ expect(firstCall.args[2]).to.eql(false); // fill
131
+ expect(firstCall.args[3]).to.eql(2); // stride
132
+ });
133
+ it("should readAndRender simple point", async () => {
134
+ const featureJson = createFeatureJSON();
135
+ const data = PhillyLandmarksDataset.phillySimplePointQueryJson;
136
+ const symbolRenderer = new ArcGisSymbologyRenderer(data.geometryType, PhillyLandmarksDataset.phillySimplePointDrawingInfo.drawingInfo.renderer);
137
+ const featureRenderer = new ArcGisFeatureRenderer(fakeContext, symbolRenderer);
138
+ const spy = sinon.spy(featureRenderer, "renderPoint");
139
+ featureJson.readAndRender({ data, exceedTransferLimit: false }, featureRenderer);
140
+ expect(spy.calledOnce);
141
+ // Pbf contains already the right output format expect, lets rely on that.
142
+ const geometryCoords = PhillyLandmarksDataset.phillySimplePointQueryPbf.queryResult.featureResult.features[0].geometry.coords;
143
+ const firstCall = spy.getCalls()[0];
144
+ expect(firstCall.args[0]).to.eql(PhillyLandmarksDataset.phillySimplePointQueryPbf.queryResult.featureResult.features[0].geometry.lengths); // geometryLengths
145
+ expect(firstCall.args[1]).to.eql(geometryCoords); // geometryCoords
146
+ expect(firstCall.args[2]).to.eql(2); // stride
147
+ });
148
+ it("should log error when readAndRender / readFeatureInfo is called invalid response Data", async () => {
149
+ const featureJson = createFeatureJSON();
150
+ const symbolRenderer = new ArcGisSymbologyRenderer("esriGeometryAny", PhillyLandmarksDataset.phillySimplePointDrawingInfo.drawingInfo.renderer);
151
+ const featureRenderer = new ArcGisFeatureRenderer(fakeContext, symbolRenderer);
152
+ const logErrorSpy = sandbox.spy(Logger, "logError");
153
+ featureJson.readAndRender({ data: { test: "test" }, exceedTransferLimit: false }, featureRenderer);
154
+ expect(logErrorSpy.calledOnce);
155
+ logErrorSpy.resetHistory();
156
+ featureJson.readFeatureInfo({ data: { test: "test" }, exceedTransferLimit: false }, []);
157
+ expect(logErrorSpy.calledOnce);
158
+ });
159
+ });
160
160
  //# sourceMappingURL=ArcGisFeatureJSON.test.js.map