@itwin/map-layers-formats 4.0.0-dev.8 → 4.0.0-dev.81

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 (175) hide show
  1. package/.rush/temp/operation/build/all.log +3 -0
  2. package/.rush/temp/operation/build/state.json +3 -0
  3. package/.rush/temp/operation/cover/all.log +98 -0
  4. package/.rush/temp/operation/cover/state.json +1 -1
  5. package/.rush/temp/operation/docs/all.log +30 -0
  6. package/.rush/temp/operation/docs/state.json +1 -1
  7. package/.rush/temp/{package-deps_build_ci.json → package-deps_build.json} +11 -11
  8. package/.rush/temp/package-deps_cover.json +10 -10
  9. package/.rush/temp/package-deps_docs.json +10 -10
  10. package/.rush/temp/shrinkwrap-deps.json +190 -44
  11. package/CHANGELOG.json +57 -0
  12. package/CHANGELOG.md +44 -1
  13. package/config/rush-project.json +1 -2
  14. package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.d.ts +8 -8
  15. package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.js +14 -14
  16. package/lib/cjs/ArcGisFeature/ArcGisFeatureFormat.js.map +1 -1
  17. package/lib/cjs/ArcGisFeature/ArcGisFeatureJSON.d.ts +14 -14
  18. package/lib/cjs/ArcGisFeature/ArcGisFeatureJSON.js +132 -134
  19. package/lib/cjs/ArcGisFeature/ArcGisFeatureJSON.js.map +1 -1
  20. package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.d.ts +14 -14
  21. package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.js +200 -202
  22. package/lib/cjs/ArcGisFeature/ArcGisFeaturePBF.js.map +1 -1
  23. package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.d.ts +44 -44
  24. package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.js +421 -422
  25. package/lib/cjs/ArcGisFeature/ArcGisFeatureProvider.js.map +1 -1
  26. package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.d.ts +92 -92
  27. package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.d.ts.map +1 -1
  28. package/lib/cjs/ArcGisFeature/ArcGisFeatureQuery.js +82 -82
  29. package/lib/cjs/ArcGisFeature/ArcGisFeatureReader.d.ts +17 -17
  30. package/lib/cjs/ArcGisFeature/ArcGisFeatureReader.js +33 -33
  31. package/lib/cjs/ArcGisFeature/ArcGisFeatureRenderer.d.ts +32 -32
  32. package/lib/cjs/ArcGisFeature/ArcGisFeatureRenderer.js +142 -142
  33. package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.d.ts +16 -16
  34. package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.d.ts.map +1 -1
  35. package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.js +42 -43
  36. package/lib/cjs/ArcGisFeature/ArcGisFeatureResponse.js.map +1 -1
  37. package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.d.ts +85 -85
  38. package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.d.ts.map +1 -1
  39. package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.js +189 -192
  40. package/lib/cjs/ArcGisFeature/ArcGisSymbologyRenderer.js.map +1 -1
  41. package/lib/cjs/ArcGisFeature/esriPBuffer.gen.d.ts +1063 -1063
  42. package/lib/cjs/ArcGisFeature/esriPBuffer.gen.d.ts.map +1 -1
  43. package/lib/cjs/ArcGisFeature/esriPBuffer.gen.js +2267 -2270
  44. package/lib/cjs/ArcGisFeature/esriPBuffer.gen.js.map +1 -1
  45. package/lib/cjs/map-layers-formats.d.ts +8 -8
  46. package/lib/cjs/map-layers-formats.js +28 -24
  47. package/lib/cjs/map-layers-formats.js.map +1 -1
  48. package/lib/cjs/mapLayersFormats.d.ts +10 -10
  49. package/lib/cjs/mapLayersFormats.js +28 -28
  50. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.d.ts +1 -1
  51. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.js +34 -34
  52. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureJSON.test.d.ts +1 -1
  53. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureJSON.test.js +161 -161
  54. package/lib/cjs/test/ArcGisFeature/ArcGisFeaturePBF.test.d.ts +1 -1
  55. package/lib/cjs/test/ArcGisFeature/ArcGisFeaturePBF.test.js +167 -167
  56. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.d.ts +1 -1
  57. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureProvider.test.js +679 -680
  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/ArcGisFeatureRenderer.test.d.ts +1 -1
  62. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureRenderer.test.js +214 -214
  63. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.d.ts +1 -1
  64. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.js +94 -94
  65. package/lib/cjs/test/ArcGisFeature/ArcGisFeatureResponse.test.js.map +1 -1
  66. package/lib/cjs/test/ArcGisFeature/ArcGisSymbologyRenderer.test.d.ts +1 -1
  67. package/lib/cjs/test/ArcGisFeature/ArcGisSymbologyRenderer.test.js +59 -59
  68. package/lib/cjs/test/ArcGisFeature/Mocks.d.ts +6 -6
  69. package/lib/cjs/test/ArcGisFeature/Mocks.js +18 -18
  70. package/lib/cjs/test/ArcGisFeature/NewYorkDataset.d.ts +55 -55
  71. package/lib/cjs/test/ArcGisFeature/NewYorkDataset.d.ts.map +1 -1
  72. package/lib/cjs/test/ArcGisFeature/NewYorkDataset.js +419 -419
  73. package/lib/cjs/test/ArcGisFeature/NewYorkDataset.js.map +1 -1
  74. package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.d.ts +1042 -1042
  75. package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.d.ts.map +1 -1
  76. package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.js +426 -426
  77. package/lib/cjs/test/ArcGisFeature/PhillyLandmarksDataset.js.map +1 -1
  78. package/lib/cjs/test/coverage/.nyc_output/cd866071-e986-4027-89f6-9a70b6e25ed3.json +1 -0
  79. package/lib/cjs/test/coverage/.nyc_output/processinfo/4c93adb3-7e95-4a63-9814-a25d79ab4680.json +1 -0
  80. package/lib/cjs/test/coverage/.nyc_output/processinfo/cd866071-e986-4027-89f6-9a70b6e25ed3.json +1 -0
  81. package/lib/cjs/test/coverage/.nyc_output/processinfo/index.json +1 -1
  82. package/lib/cjs/test/coverage/cobertura-coverage.xml +72 -72
  83. package/lib/cjs/test/coverage/lcov-report/index.html +5 -5
  84. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureFormat.ts.html +1 -1
  85. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureJSON.ts.html +10 -10
  86. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeaturePBF.ts.html +7 -7
  87. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureProvider.ts.html +10 -10
  88. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureQuery.ts.html +1 -1
  89. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureReader.ts.html +1 -1
  90. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureRenderer.ts.html +1 -1
  91. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisFeatureResponse.ts.html +4 -4
  92. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/ArcGisSymbologyRenderer.ts.html +8 -8
  93. package/lib/cjs/test/coverage/lcov-report/src/ArcGisFeature/index.html +13 -13
  94. package/lib/cjs/test/coverage/lcov-report/src/index.html +1 -1
  95. package/lib/cjs/test/coverage/lcov-report/src/map-layers-formats.ts.html +1 -1
  96. package/lib/cjs/test/coverage/lcov-report/src/mapLayersFormats.ts.html +1 -1
  97. package/lib/cjs/test/coverage/lcov.info +355 -531
  98. package/lib/cjs/tsconfig.tsbuildinfo +1 -1
  99. package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.d.ts +8 -8
  100. package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.js +11 -10
  101. package/lib/esm/ArcGisFeature/ArcGisFeatureFormat.js.map +1 -1
  102. package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.d.ts +14 -14
  103. package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.js +128 -130
  104. package/lib/esm/ArcGisFeature/ArcGisFeatureJSON.js.map +1 -1
  105. package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.d.ts +14 -14
  106. package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.js +196 -198
  107. package/lib/esm/ArcGisFeature/ArcGisFeaturePBF.js.map +1 -1
  108. package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.d.ts +44 -44
  109. package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.js +418 -418
  110. package/lib/esm/ArcGisFeature/ArcGisFeatureProvider.js.map +1 -1
  111. package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.d.ts +92 -92
  112. package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.d.ts.map +1 -1
  113. package/lib/esm/ArcGisFeature/ArcGisFeatureQuery.js +78 -78
  114. package/lib/esm/ArcGisFeature/ArcGisFeatureReader.d.ts +17 -17
  115. package/lib/esm/ArcGisFeature/ArcGisFeatureReader.js +29 -29
  116. package/lib/esm/ArcGisFeature/ArcGisFeatureRenderer.d.ts +32 -32
  117. package/lib/esm/ArcGisFeature/ArcGisFeatureRenderer.js +138 -138
  118. package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.d.ts +16 -16
  119. package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.d.ts.map +1 -1
  120. package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.js +38 -39
  121. package/lib/esm/ArcGisFeature/ArcGisFeatureResponse.js.map +1 -1
  122. package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.d.ts +85 -85
  123. package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.d.ts.map +1 -1
  124. package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.js +183 -185
  125. package/lib/esm/ArcGisFeature/ArcGisSymbologyRenderer.js.map +1 -1
  126. package/lib/esm/ArcGisFeature/esriPBuffer.gen.d.ts +1063 -1063
  127. package/lib/esm/ArcGisFeature/esriPBuffer.gen.d.ts.map +1 -1
  128. package/lib/esm/ArcGisFeature/esriPBuffer.gen.js +2264 -2267
  129. package/lib/esm/ArcGisFeature/esriPBuffer.gen.js.map +1 -1
  130. package/lib/esm/map-layers-formats.d.ts +8 -8
  131. package/lib/esm/map-layers-formats.js +12 -12
  132. package/lib/esm/mapLayersFormats.d.ts +10 -10
  133. package/lib/esm/mapLayersFormats.js +24 -24
  134. package/lib/esm/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.d.ts +1 -1
  135. package/lib/esm/test/ArcGisFeature/ArcGisFeatureFeatureFormats.test.js +32 -32
  136. package/lib/esm/test/ArcGisFeature/ArcGisFeatureJSON.test.d.ts +1 -1
  137. package/lib/esm/test/ArcGisFeature/ArcGisFeatureJSON.test.js +159 -159
  138. package/lib/esm/test/ArcGisFeature/ArcGisFeaturePBF.test.d.ts +1 -1
  139. package/lib/esm/test/ArcGisFeature/ArcGisFeaturePBF.test.js +165 -165
  140. package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.d.ts +1 -1
  141. package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.js +677 -678
  142. package/lib/esm/test/ArcGisFeature/ArcGisFeatureProvider.test.js.map +1 -1
  143. package/lib/esm/test/ArcGisFeature/ArcGisFeatureQuery.test.d.ts +1 -1
  144. package/lib/esm/test/ArcGisFeature/ArcGisFeatureQuery.test.js +101 -101
  145. package/lib/esm/test/ArcGisFeature/ArcGisFeatureRenderer.test.d.ts +1 -1
  146. package/lib/esm/test/ArcGisFeature/ArcGisFeatureRenderer.test.js +212 -212
  147. package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.d.ts +1 -1
  148. package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.js +92 -92
  149. package/lib/esm/test/ArcGisFeature/ArcGisFeatureResponse.test.js.map +1 -1
  150. package/lib/esm/test/ArcGisFeature/ArcGisSymbologyRenderer.test.d.ts +1 -1
  151. package/lib/esm/test/ArcGisFeature/ArcGisSymbologyRenderer.test.js +57 -57
  152. package/lib/esm/test/ArcGisFeature/Mocks.d.ts +6 -6
  153. package/lib/esm/test/ArcGisFeature/Mocks.js +15 -15
  154. package/lib/esm/test/ArcGisFeature/NewYorkDataset.d.ts +55 -55
  155. package/lib/esm/test/ArcGisFeature/NewYorkDataset.d.ts.map +1 -1
  156. package/lib/esm/test/ArcGisFeature/NewYorkDataset.js +416 -415
  157. package/lib/esm/test/ArcGisFeature/NewYorkDataset.js.map +1 -1
  158. package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.d.ts +1042 -1042
  159. package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.d.ts.map +1 -1
  160. package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.js +423 -422
  161. package/lib/esm/test/ArcGisFeature/PhillyLandmarksDataset.js.map +1 -1
  162. package/lib/esm/tsconfig.tsbuildinfo +1 -1
  163. package/lib/test/junit_results.xml +44 -44
  164. package/map-layers-formats.build.log +2 -2
  165. package/package.json +17 -17
  166. package/src/ArcGisFeature/esriPBuffer.gen.ts +1 -4
  167. package/src/test/ArcGisFeature/ArcGisFeatureProvider.test.ts +21 -21
  168. package/src/test/ArcGisFeature/NewYorkDataset.ts +187 -187
  169. package/src/test/ArcGisFeature/PhillyLandmarksDataset.ts +4 -4
  170. package/tsconfig.json +1 -2
  171. package/.rush/temp/operation/build_ci/state.json +0 -3
  172. package/lib/cjs/test/coverage/.nyc_output/bb9e12be-ea3c-4cee-99d0-c7a34bd2c47a.json +0 -1
  173. package/lib/cjs/test/coverage/.nyc_output/processinfo/5901bdfe-760d-4ca3-9674-876be7ed11b1.json +0 -1
  174. package/lib/cjs/test/coverage/.nyc_output/processinfo/bb9e12be-ea3c-4cee-99d0-c7a34bd2c47a.json +0 -1
  175. /package/lib/cjs/test/coverage/.nyc_output/{5901bdfe-760d-4ca3-9674-876be7ed11b1.json → 4c93adb3-7e95-4a63-9814-a25d79ab4680.json} +0 -0
@@ -1,47 +1,47 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites name="Mocha Tests" time="0.469" tests="69" failures="0">
3
- <testsuite name="Root Suite" timestamp="2023-02-07T05:16:13" tests="0" time="0.000" failures="0">
2
+ <testsuites name="Mocha Tests" time="0.703" tests="69" failures="0">
3
+ <testsuite name="Root Suite" timestamp="2023-04-20T18:45:28" tests="0" time="0.000" failures="0">
4
4
  </testsuite>
5
- <testsuite name="ArcGisFeaturePBF" timestamp="2023-02-07T05:16:13" tests="2" file="D:\vsts_a\8\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeatureFeatureFormats.test.js" time="0.017" failures="0">
6
- <testcase name="ArcGisFeaturePBF should createImageryProvider" time="0.001" classname="should createImageryProvider">
5
+ <testsuite name="ArcGisFeaturePBF" timestamp="2023-04-20T18:45:28" tests="2" file="D:\vsts_a\4\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeatureFeatureFormats.test.js" time="0.015" failures="0">
6
+ <testcase name="ArcGisFeaturePBF should createImageryProvider" time="0.003" classname="should createImageryProvider">
7
7
  </testcase>
8
- <testcase name="ArcGisFeaturePBF should validateSource" time="0.005" classname="should validateSource">
8
+ <testcase name="ArcGisFeaturePBF should validateSource" time="0.004" classname="should validateSource">
9
9
  </testcase>
10
10
  </testsuite>
11
- <testsuite name="ArcGisFeatureJSON" timestamp="2023-02-07T05:16:13" tests="9" file="D:\vsts_a\8\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeatureJSON.test.js" time="0.031" failures="0">
12
- <testcase name="ArcGisFeatureJSON should read FeatureInfo in JSON (phillyTansportation)" time="0.003" classname="should read FeatureInfo in JSON (phillyTansportation)">
11
+ <testsuite name="ArcGisFeatureJSON" timestamp="2023-04-20T18:45:28" tests="9" file="D:\vsts_a\4\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeatureJSON.test.js" time="0.029" failures="0">
12
+ <testcase name="ArcGisFeatureJSON should read FeatureInfo in JSON (phillyTansportation)" time="0.006" classname="should read FeatureInfo in JSON (phillyTansportation)">
13
13
  </testcase>
14
14
  <testcase name="ArcGisFeatureJSON should read FeatureInfo in JSON (phillyAirport)" time="0.001" classname="should read FeatureInfo in JSON (phillyAirport)">
15
15
  </testcase>
16
16
  <testcase name="ArcGisFeatureJSON should deflate coordinates array" time="0.001" classname="should deflate coordinates array">
17
17
  </testcase>
18
- <testcase name="ArcGisFeatureJSON should readAndRender single ring polygon feature" time="0.004" classname="should readAndRender single ring polygon feature">
18
+ <testcase name="ArcGisFeatureJSON should readAndRender single ring polygon feature" time="0.003" classname="should readAndRender single ring polygon feature">
19
19
  </testcase>
20
- <testcase name="ArcGisFeatureJSON should readAndRender multiple ring polygon feature" time="0.002" classname="should readAndRender multiple ring polygon feature">
20
+ <testcase name="ArcGisFeatureJSON should readAndRender multiple ring polygon feature" time="0.001" classname="should readAndRender multiple ring polygon feature">
21
21
  </testcase>
22
- <testcase name="ArcGisFeatureJSON should readAndRender simple path" time="0.002" classname="should readAndRender simple path">
22
+ <testcase name="ArcGisFeatureJSON should readAndRender simple path" time="0.001" classname="should readAndRender simple path">
23
23
  </testcase>
24
24
  <testcase name="ArcGisFeatureJSON should readAndRender multi path" time="0.001" classname="should readAndRender multi path">
25
25
  </testcase>
26
- <testcase name="ArcGisFeatureJSON should readAndRender simple point" time="0.004" classname="should readAndRender simple point">
26
+ <testcase name="ArcGisFeatureJSON should readAndRender simple point" time="0.005" classname="should readAndRender simple point">
27
27
  </testcase>
28
28
  <testcase name="ArcGisFeatureJSON should log error when readAndRender / readFeatureInfo is called invalid response Data" time="0.002" classname="should log error when readAndRender / readFeatureInfo is called invalid response Data">
29
29
  </testcase>
30
30
  </testsuite>
31
- <testsuite name="ArcGisFeaturePBF" timestamp="2023-02-07T05:16:13" tests="10" file="D:\vsts_a\8\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeaturePBF.test.js" time="0.049" failures="0">
31
+ <testsuite name="ArcGisFeaturePBF" timestamp="2023-04-20T18:45:28" tests="10" file="D:\vsts_a\4\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeaturePBF.test.js" time="0.047" failures="0">
32
32
  <testcase name="ArcGisFeaturePBF should convert pbf geometry type to Esri types" time="0.001" classname="should convert pbf geometry type to Esri types">
33
33
  </testcase>
34
- <testcase name="ArcGisFeaturePBF should read FeatureInfo in PBF" time="0.014" classname="should read FeatureInfo in PBF">
34
+ <testcase name="ArcGisFeaturePBF should read FeatureInfo in PBF" time="0.013" classname="should read FeatureInfo in PBF">
35
35
  </testcase>
36
36
  <testcase name="ArcGisFeaturePBF should read FeatureInfo from PBF (philly transportation)" time="0.010" classname="should read FeatureInfo from PBF (philly transportation)">
37
37
  </testcase>
38
- <testcase name="ArcGisFeaturePBF should read all data types from FeatureInfo " time="0.003" classname="should read all data types from FeatureInfo ">
38
+ <testcase name="ArcGisFeaturePBF should read all data types from FeatureInfo " time="0.002" classname="should read all data types from FeatureInfo ">
39
39
  </testcase>
40
40
  <testcase name="ArcGisFeaturePBF should readAndRender single ring polygon feature" time="0.002" classname="should readAndRender single ring polygon feature">
41
41
  </testcase>
42
- <testcase name="ArcGisFeaturePBF should readAndRender multiple ring polygon feature" time="0.002" classname="should readAndRender multiple ring polygon feature">
42
+ <testcase name="ArcGisFeaturePBF should readAndRender multiple ring polygon feature" time="0.001" classname="should readAndRender multiple ring polygon feature">
43
43
  </testcase>
44
- <testcase name="ArcGisFeaturePBF should readAndRender simple path" time="0.002" classname="should readAndRender simple path">
44
+ <testcase name="ArcGisFeaturePBF should readAndRender simple path" time="0.001" classname="should readAndRender simple path">
45
45
  </testcase>
46
46
  <testcase name="ArcGisFeaturePBF should readAndRender multi path" time="0.001" classname="should readAndRender multi path">
47
47
  </testcase>
@@ -50,8 +50,8 @@
50
50
  <testcase name="ArcGisFeaturePBF should log error when readAndRender / readFeatureInfo is called invalid response Data" time="0.002" classname="should log error when readAndRender / readFeatureInfo is called invalid response Data">
51
51
  </testcase>
52
52
  </testsuite>
53
- <testsuite name="ArcGisFeatureProvider" timestamp="2023-02-07T05:16:13" tests="23" file="D:\vsts_a\8\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeatureProvider.test.js" time="0.296" failures="0">
54
- <testcase name="ArcGisFeatureProvider should initialize with valid data" time="0.005" classname="should initialize with valid data">
53
+ <testsuite name="ArcGisFeatureProvider" timestamp="2023-04-20T18:45:28" tests="23" file="D:\vsts_a\4\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeatureProvider.test.js" time="0.309" failures="0">
54
+ <testcase name="ArcGisFeatureProvider should initialize with valid data" time="0.004" classname="should initialize with valid data">
55
55
  </testcase>
56
56
  <testcase name="ArcGisFeatureProvider should not initialize with no service metadata" time="0.003" classname="should not initialize with no service metadata">
57
57
  </testcase>
@@ -59,57 +59,57 @@
59
59
  </testcase>
60
60
  <testcase name="ArcGisFeatureProvider should throw query capability not supported" time="0.001" classname="should throw query capability not supported">
61
61
  </testcase>
62
- <testcase name="ArcGisFeatureProvider should pick the first visible sub-layer when multiple visible sub-layers" time="0.004" classname="should pick the first visible sub-layer when multiple visible sub-layers">
62
+ <testcase name="ArcGisFeatureProvider should pick the first visible sub-layer when multiple visible sub-layers" time="0.003" classname="should pick the first visible sub-layer when multiple visible sub-layers">
63
63
  </testcase>
64
- <testcase name="ArcGisFeatureProvider should pick sub-layers from service metadata if none provided on layer settings" time="0.003" classname="should pick sub-layers from service metadata if none provided on layer settings">
64
+ <testcase name="ArcGisFeatureProvider should pick sub-layers from service metadata if none provided on layer settings" time="0.002" classname="should pick sub-layers from service metadata if none provided on layer settings">
65
65
  </testcase>
66
66
  <testcase name="ArcGisFeatureProvider should throw error if no layers in capabilities" time="0.001" classname="should throw error if no layers in capabilities">
67
67
  </testcase>
68
68
  <testcase name="ArcGisFeatureProvider should throw if no layer metadata from service" time="0.002" classname="should throw if no layer metadata from service">
69
69
  </testcase>
70
- <testcase name="ArcGisFeatureProvider should read supported supported format" time="0.005" classname="should read supported supported format">
70
+ <testcase name="ArcGisFeatureProvider should read supported supported format" time="0.004" classname="should read supported supported format">
71
71
  </testcase>
72
72
  <testcase name="ArcGisFeatureProvider should compute minLod/maxLod" time="0.002" classname="should compute minLod/maxLod">
73
73
  </testcase>
74
74
  <testcase name="ArcGisFeatureProvider should construct empty url" time="0.000" classname="should construct empty url">
75
75
  </testcase>
76
- <testcase name="ArcGisFeatureProvider should construct feature query url" time="0.028" classname="should construct feature query url">
76
+ <testcase name="ArcGisFeatureProvider should construct feature query url" time="0.026" classname="should construct feature query url">
77
77
  </testcase>
78
78
  <testcase name="ArcGisFeatureProvider should log error when getFeatureInfo cannot be performed" time="0.004" classname="should log error when getFeatureInfo cannot be performed">
79
79
  </testcase>
80
- <testcase name="ArcGisFeatureProvider should process data in getFeatureInfo" time="0.020" classname="should process data in getFeatureInfo">
80
+ <testcase name="ArcGisFeatureProvider should process data in getFeatureInfo" time="0.021" classname="should process data in getFeatureInfo">
81
81
  </testcase>
82
- <testcase name="ArcGisFeatureProvider should log error when exceed transfert limit" time="0.126" classname="should log error when exceed transfert limit">
82
+ <testcase name="ArcGisFeatureProvider should log error when exceed transfert limit" time="0.129" classname="should log error when exceed transfert limit">
83
83
  </testcase>
84
- <testcase name="ArcGisFeatureProvider should log error when exceed exception thrown limit" time="0.013" classname="should log error when exceed exception thrown limit">
84
+ <testcase name="ArcGisFeatureProvider should log error when exceed exception thrown limit" time="0.012" classname="should log error when exceed exception thrown limit">
85
85
  </testcase>
86
- <testcase name="ArcGisFeatureProvider should debug Feature Geom" time="0.029" classname="should debug Feature Geom">
86
+ <testcase name="ArcGisFeatureProvider should debug Feature Geom" time="0.031" classname="should debug Feature Geom">
87
87
  </testcase>
88
- <testcase name="ArcGisFeatureProvider should compute computeTileWorld2CanvasTransform" time="0.004" classname="should compute computeTileWorld2CanvasTransform">
88
+ <testcase name="ArcGisFeatureProvider should compute computeTileWorld2CanvasTransform" time="0.002" classname="should compute computeTileWorld2CanvasTransform">
89
89
  </testcase>
90
- <testcase name="ArcGisFeatureProvider should loadTile from PBF request" time="0.007" classname="should loadTile from PBF request">
90
+ <testcase name="ArcGisFeatureProvider should loadTile from PBF request" time="0.006" classname="should loadTile from PBF request">
91
91
  </testcase>
92
92
  <testcase name="ArcGisFeatureProvider should loadTile from JSON request" time="0.004" classname="should loadTile from JSON request">
93
93
  </testcase>
94
- <testcase name="ArcGisFeatureProvider should make sub request if loadtile request return &apos;exceedTransferLimit&apos;" time="0.004" classname="should make sub request if loadtile request return &apos;exceedTransferLimit&apos;">
94
+ <testcase name="ArcGisFeatureProvider should make sub request if loadtile request return &apos;exceedTransferLimit&apos;" time="0.005" classname="should make sub request if loadtile request return &apos;exceedTransferLimit&apos;">
95
95
  </testcase>
96
- <testcase name="ArcGisFeatureProvider fetchTile should return undefined when to format defined" time="0.000" classname="fetchTile should return undefined when to format defined">
96
+ <testcase name="ArcGisFeatureProvider fetchTile should return undefined when to format defined" time="0.001" classname="fetchTile should return undefined when to format defined">
97
97
  </testcase>
98
98
  <testcase name="ArcGisFeatureProvider fetchTile should call fetch with the proper URL" time="0.002" classname="fetchTile should call fetch with the proper URL">
99
99
  </testcase>
100
100
  </testsuite>
101
- <testsuite name="ArcGisFeatureQuery" timestamp="2023-02-07T05:16:13" tests="3" file="D:\vsts_a\8\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeatureQuery.test.js" time="0.018" failures="0">
102
- <testcase name="ArcGisFeatureQuery should not apply different switches if not needed" time="0.003" classname="should not apply different switches if not needed">
101
+ <testsuite name="ArcGisFeatureQuery" timestamp="2023-04-20T18:45:28" tests="3" file="D:\vsts_a\4\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeatureQuery.test.js" time="0.154" failures="0">
102
+ <testcase name="ArcGisFeatureQuery should not apply different switches if not needed" time="0.002" classname="should not apply different switches if not needed">
103
103
  </testcase>
104
- <testcase name="ArcGisFeatureQuery should not apply different switches if not needed" time="0.008" classname="should not apply different switches if not needed">
104
+ <testcase name="ArcGisFeatureQuery should not apply different switches if not needed" time="0.006" classname="should not apply different switches if not needed">
105
105
  </testcase>
106
- <testcase name="ArcGisFeatureQuery should not include geometry only when applicable" time="0.002" classname="should not include geometry only when applicable">
106
+ <testcase name="ArcGisFeatureQuery should not include geometry only when applicable" time="0.003" classname="should not include geometry only when applicable">
107
107
  </testcase>
108
108
  </testsuite>
109
- <testsuite name="ArcGisFeatureRenderer" timestamp="2023-02-07T05:16:13" tests="12" file="D:\vsts_a\8\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeatureRenderer.test.js" time="0.032" failures="0">
109
+ <testsuite name="ArcGisFeatureRenderer" timestamp="2023-04-20T18:45:28" tests="12" file="D:\vsts_a\4\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeatureRenderer.test.js" time="0.120" failures="0">
110
110
  <testcase name="ArcGisFeatureRenderer should render simple path, stride = 2" time="0.001" classname="should render simple path, stride = 2">
111
111
  </testcase>
112
- <testcase name="ArcGisFeatureRenderer should render simple filled path" time="0.001" classname="should render simple filled path">
112
+ <testcase name="ArcGisFeatureRenderer should render simple filled path" time="0.002" classname="should render simple filled path">
113
113
  </testcase>
114
114
  <testcase name="ArcGisFeatureRenderer should render simple Path, stride = 3" time="0.001" classname="should render simple Path, stride = 3">
115
115
  </testcase>
@@ -129,17 +129,17 @@
129
129
  </testcase>
130
130
  <testcase name="ArcGisFeatureRenderer should render multi Point and apply transform, relativeCoords ON" time="0.002" classname="should render multi Point and apply transform, relativeCoords ON">
131
131
  </testcase>
132
- <testcase name="ArcGisFeatureRenderer should render and apply transform, relativeCoords ON" time="0.001" classname="should render and apply transform, relativeCoords ON">
132
+ <testcase name="ArcGisFeatureRenderer should render and apply transform, relativeCoords ON" time="0.002" classname="should render and apply transform, relativeCoords ON">
133
133
  </testcase>
134
134
  </testsuite>
135
- <testsuite name="ArcGisFeatureResponse" timestamp="2023-02-07T05:16:14" tests="7" file="D:\vsts_a\8\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeatureResponse.test.js" time="0.015" failures="0">
135
+ <testsuite name="ArcGisFeatureResponse" timestamp="2023-04-20T18:45:28" tests="7" file="D:\vsts_a\4\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisFeatureResponse.test.js" time="0.018" failures="0">
136
136
  <testcase name="ArcGisFeatureResponse should return undefined if http error" time="0.000" classname="should return undefined if http error">
137
137
  </testcase>
138
138
  <testcase name="ArcGisFeatureResponse should return undefined if invalid PBF data" time="0.000" classname="should return undefined if invalid PBF data">
139
139
  </testcase>
140
- <testcase name="ArcGisFeatureResponse should create FeatureCollectionPBuffer from PBF data" time="0.003" classname="should create FeatureCollectionPBuffer from PBF data">
140
+ <testcase name="ArcGisFeatureResponse should create FeatureCollectionPBuffer from PBF data" time="0.005" classname="should create FeatureCollectionPBuffer from PBF data">
141
141
  </testcase>
142
- <testcase name="ArcGisFeatureResponse should report exceededTransferLimit from PBF object" time="0.004" classname="should report exceededTransferLimit from PBF object">
142
+ <testcase name="ArcGisFeatureResponse should report exceededTransferLimit from PBF object" time="0.008" classname="should report exceededTransferLimit from PBF object">
143
143
  </testcase>
144
144
  <testcase name="ArcGisFeatureResponse should return undefined if invalid JSON" time="0.000" classname="should return undefined if invalid JSON">
145
145
  </testcase>
@@ -148,12 +148,12 @@
148
148
  <testcase name="ArcGisFeatureResponse should report exceededTransferLimit from JSON object" time="0.000" classname="should report exceededTransferLimit from JSON object">
149
149
  </testcase>
150
150
  </testsuite>
151
- <testsuite name="ArcGisSymbologyRenderer" timestamp="2023-02-07T05:16:14" tests="3" file="D:\vsts_a\8\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisSymbologyRenderer.test.js" time="0.006" failures="0">
152
- <testcase name="ArcGisSymbologyRenderer should construct renderer from incomplete drawing info" time="0.002" classname="should construct renderer from incomplete drawing info">
151
+ <testsuite name="ArcGisSymbologyRenderer" timestamp="2023-04-20T18:45:28" tests="3" file="D:\vsts_a\4\s\extensions\map-layers-formats\lib\cjs\test\ArcGisFeature\ArcGisSymbologyRenderer.test.js" time="0.006" failures="0">
152
+ <testcase name="ArcGisSymbologyRenderer should construct renderer from incomplete drawing info" time="0.003" classname="should construct renderer from incomplete drawing info">
153
153
  </testcase>
154
- <testcase name="ArcGisSymbologyRenderer should construct renderer from unique value drawing info" time="0.000" classname="should construct renderer from unique value drawing info">
154
+ <testcase name="ArcGisSymbologyRenderer should construct renderer from unique value drawing info" time="0.001" classname="should construct renderer from unique value drawing info">
155
155
  </testcase>
156
- <testcase name="ArcGisSymbologyRenderer should construct renderer from point symbology drawing info" time="0.000" classname="should construct renderer from point symbology drawing info">
156
+ <testcase name="ArcGisSymbologyRenderer should construct renderer from point symbology drawing info" time="0.001" classname="should construct renderer from point symbology drawing info">
157
157
  </testcase>
158
158
  </testsuite>
159
159
  </testsuites>
@@ -1,10 +1,10 @@
1
1
  Invoking: betools docs --includes=../../generated-docs/extract --json=../../generated-docs/core/map-layers-formats/file.json --tsIndexFile=./map-layers-formats.ts --onlyJson --excludes=**/ArcGisFeature/*.ts,**/*.gen.ts
2
2
  Running command:
3
- node "D:\vsts_a\8\s\tools\build\scripts\docs.js" --json ../../generated-docs/core/map-layers-formats/file.json --includes ../../generated-docs/extract --excludes **/ArcGisFeature/*.ts,**/*.gen.ts --tsIndexFile ./map-layers-formats.ts --onlyJson
3
+ node "D:\vsts_a\4\s\tools\build\scripts\docs.js" --json ../../generated-docs/core/map-layers-formats/file.json --includes ../../generated-docs/extract --excludes **/ArcGisFeature/*.ts,**/*.gen.ts --tsIndexFile ./map-layers-formats.ts --onlyJson
4
4
  Arguments to TypeDoc: [
5
5
  "--entryPointStrategy",
6
6
  "expand",
7
- "D:\\vsts_a\\8\\s\\extensions\\map-layers-formats\\src",
7
+ "D:\\vsts_a\\4\\s\\extensions\\map-layers-formats\\src",
8
8
  "--excludePrivate",
9
9
  "--hideGenerator",
10
10
  "--logLevel",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itwin/map-layers-formats",
3
- "version": "4.0.0-dev.8",
3
+ "version": "4.0.0-dev.81",
4
4
  "description": "Enables additional map-layers formats in iTwin.js",
5
5
  "main": "lib/cjs/map-layers-formats.js",
6
6
  "module": "lib/esm/map-layers-formats.js",
@@ -8,7 +8,8 @@
8
8
  "license": "MIT",
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/iTwin/itwinjs-core/tree/master/extensions/map-layers-formats"
11
+ "url": "https://github.com/iTwin/itwinjs-core.git",
12
+ "directory": "extensions/map-layers-formats"
12
13
  },
13
14
  "keywords": [
14
15
  "iModel",
@@ -21,13 +22,13 @@
21
22
  "url": "http://www.bentley.com"
22
23
  },
23
24
  "devDependencies": {
24
- "@itwin/appui-abstract": "4.0.0-dev.8",
25
- "@itwin/build-tools": "4.0.0-dev.8",
26
- "@itwin/core-bentley": "4.0.0-dev.8",
27
- "@itwin/core-common": "4.0.0-dev.8",
28
- "@itwin/core-geometry": "4.0.0-dev.8",
29
- "@itwin/core-frontend": "4.0.0-dev.8",
30
- "@itwin/eslint-plugin": "4.0.0-dev.8",
25
+ "@itwin/appui-abstract": "4.0.0-dev.81",
26
+ "@itwin/build-tools": "4.0.0-dev.81",
27
+ "@itwin/core-bentley": "4.0.0-dev.81",
28
+ "@itwin/core-common": "4.0.0-dev.81",
29
+ "@itwin/core-geometry": "4.0.0-dev.81",
30
+ "@itwin/core-frontend": "4.0.0-dev.81",
31
+ "@itwin/eslint-plugin": "^4.0.0-dev.33",
31
32
  "@types/chai": "4.3.1",
32
33
  "@types/chai-as-promised": "^7",
33
34
  "@types/google-protobuf": "~3.15.6",
@@ -36,7 +37,7 @@
36
37
  "@types/sinon-chai": "^3.2.0",
37
38
  "chai": "^4.1.2",
38
39
  "chai-as-promised": "^7",
39
- "eslint": "^7.11.0",
40
+ "eslint": "^8.36.0",
40
41
  "jsdom": "^19.0.0",
41
42
  "jsdom-global": "3.0.2",
42
43
  "mocha": "^10.0.0",
@@ -45,13 +46,13 @@
45
46
  "sinon": "^9.0.2",
46
47
  "sinon-chai": "^3.2.0",
47
48
  "source-map-support": "^0.5.6",
48
- "typescript": "~4.4.0"
49
+ "typescript": "~5.0.2"
49
50
  },
50
51
  "peerDependencies": {
51
- "@itwin/appui-abstract": "4.0.0-dev.8",
52
- "@itwin/core-bentley": "4.0.0-dev.8",
53
- "@itwin/core-common": "4.0.0-dev.8",
54
- "@itwin/core-geometry": "4.0.0-dev.8"
52
+ "@itwin/appui-abstract": "4.0.0-dev.81",
53
+ "@itwin/core-bentley": "4.0.0-dev.81",
54
+ "@itwin/core-common": "4.0.0-dev.81",
55
+ "@itwin/core-geometry": "4.0.0-dev.81"
55
56
  },
56
57
  "dependencies": {
57
58
  "google-protobuf": "~3.20.1"
@@ -87,8 +88,7 @@
87
88
  ]
88
89
  },
89
90
  "scripts": {
90
- "build": "npm run -s build:cjs",
91
- "build:ci": "npm run -s build && npm run -s build:esm",
91
+ "build": "npm run -s build:cjs && npm run -s build:esm",
92
92
  "build:cjs": "tsc 1>&2 --outDir lib/cjs",
93
93
  "build:esm": "tsc 1>&2 --module ES2020 --outDir lib/esm",
94
94
  "clean": "rimraf lib .rush/temp/package-deps*.json",
@@ -4,10 +4,7 @@
4
4
  * See LICENSE.md in the project root for license terms and full copyright notice.
5
5
  *--------------------------------------------------------------------------------------------*/
6
6
 
7
- /* eslint-disable @typescript-eslint/naming-convention */
8
- /* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */
9
- /* eslint-disable @typescript-eslint/explicit-member-accessibility */
10
- /* eslint-disable eqeqeq */
7
+ /* eslint-disable */
11
8
 
12
9
  /**
13
10
  * Generated by the protoc-gen-ts. DO NOT EDIT!
@@ -38,7 +38,7 @@ describe("ArcGisFeatureProvider", () => {
38
38
  return {accessTokenRequired: false, content:NewYorkDataset.serviceCapabilities};
39
39
  });
40
40
 
41
- sandbox.stub(ArcGisFeatureProvider.prototype, "getLayerMetadata" as any).callsFake(async function _(_layerId: number) {
41
+ sandbox.stub(ArcGisFeatureProvider.prototype, "getLayerMetadata" as any).callsFake(async function _(_layerId: unknown) {
42
42
  return NewYorkDataset.streetsLayerCapabilities;
43
43
  });
44
44
 
@@ -121,7 +121,7 @@ describe("ArcGisFeatureProvider", () => {
121
121
  };
122
122
  });
123
123
 
124
- sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (id: number) {
124
+ sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (id: unknown) {
125
125
  if (id === 1 ) {
126
126
  return {defaultVisibility:true};
127
127
  }
@@ -157,7 +157,7 @@ describe("ArcGisFeatureProvider", () => {
157
157
  sandbox.stub(ArcGisUtilities, "getServiceJson").callsFake(async function _(_url: string, _formatId: string, _userName?: string, _password?: string, _ignoreCache?: boolean, _requireToken?: boolean) {
158
158
  return {accessTokenRequired: false, content:{capabilities: "Query"}};
159
159
  });
160
- sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
160
+ sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
161
161
  return undefined;
162
162
  });
163
163
 
@@ -172,7 +172,7 @@ describe("ArcGisFeatureProvider", () => {
172
172
  subLayers: [{id: 0, name: "layer1", visible:true}, {id:2, name: "layer2", visible:true}]}
173
173
  );
174
174
 
175
- let getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
175
+ let getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
176
176
  return {defaultVisibility:true, supportedQueryFormats:"PBF, JSON"};
177
177
  });
178
178
 
@@ -190,7 +190,7 @@ describe("ArcGisFeatureProvider", () => {
190
190
  return {accessTokenRequired: false, content: { currentVersion: 11, capabilities: "Query"}};
191
191
  });
192
192
  getLayerMetadataStub.restore();
193
- getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
193
+ getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
194
194
  return {defaultVisibility:true, supportsCoordinatesQuantization:true, supportedQueryFormats:"PBF, JSON"};
195
195
  });
196
196
 
@@ -199,7 +199,7 @@ describe("ArcGisFeatureProvider", () => {
199
199
  expect(provider.format).to.equals("PBF");
200
200
 
201
201
  getLayerMetadataStub.restore();
202
- getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
202
+ getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
203
203
  return {defaultVisibility:true, supportedQueryFormats:"JSON"};
204
204
  });
205
205
 
@@ -213,7 +213,7 @@ describe("ArcGisFeatureProvider", () => {
213
213
  expect(provider.format).to.equals("JSON");
214
214
 
215
215
  getLayerMetadataStub.restore();
216
- getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
216
+ getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
217
217
  return {defaultVisibility:true, supportedQueryFormats:"JSON"};
218
218
  });
219
219
 
@@ -222,7 +222,7 @@ describe("ArcGisFeatureProvider", () => {
222
222
  expect(provider.format).to.equals("JSON");
223
223
 
224
224
  getLayerMetadataStub.restore();
225
- getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
225
+ getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
226
226
  return {defaultVisibility:true, supportedQueryFormats:""};
227
227
  });
228
228
 
@@ -237,7 +237,7 @@ describe("ArcGisFeatureProvider", () => {
237
237
  subLayers: [{id: 0, name: "layer1", visible:true}, {id:2, name: "layer2", visible:true}]}
238
238
  );
239
239
 
240
- sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
240
+ sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
241
241
  return {
242
242
  defaultVisibility:true,
243
243
  supportedQueryFormats:"PBF, JSON",
@@ -272,7 +272,7 @@ describe("ArcGisFeatureProvider", () => {
272
272
  subLayers: [{id: 0, name: "layer1", visible:true}, {id:2, name: "layer2", visible:true}]}
273
273
  );
274
274
 
275
- let getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
275
+ let getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
276
276
  return {
277
277
  defaultVisibility: true,
278
278
  supportedQueryFormats:"PBF, JSON",
@@ -307,7 +307,7 @@ describe("ArcGisFeatureProvider", () => {
307
307
 
308
308
  // Now turn ON 'supportsCoordinatesQuantization' to ON
309
309
  getLayerMetadataStub.restore();
310
- getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
310
+ getLayerMetadataStub = sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
311
311
  return {
312
312
  defaultVisibility: true,
313
313
  supportedQueryFormats:"PBF, JSON",
@@ -370,7 +370,7 @@ describe("ArcGisFeatureProvider", () => {
370
370
  subLayers: [{id: 0, name: "layer1", visible:true}, {id:2, name: "layer2", visible:true}]}
371
371
  );
372
372
 
373
- sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
373
+ sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
374
374
  return {
375
375
  defaultVisibility:true,
376
376
  supportedQueryFormats:"PBF, JSON",
@@ -403,7 +403,7 @@ describe("ArcGisFeatureProvider", () => {
403
403
  subLayers: [{id: 0, name: "layer1", visible:true}, {id:2, name: "layer2", visible:true}]}
404
404
  );
405
405
 
406
- sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
406
+ sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
407
407
  return {
408
408
  defaultVisibility:true,
409
409
  supportedQueryFormats:"PBF, JSON",
@@ -416,7 +416,7 @@ describe("ArcGisFeatureProvider", () => {
416
416
  sandbox.stub(ArcGisUtilities, "getServiceJson").callsFake(async function _(_url: string, _formatId: string, _userName?: string, _password?: string, _ignoreCache?: boolean, _requireToken?: boolean) {
417
417
  return {accessTokenRequired: false, content:{currentVersion: 11, capabilities: "Query"}};
418
418
  });
419
- sandbox.stub((ArcGISImageryProvider.prototype as any), "fetch").callsFake(async function _(_url: URL, _options?: RequestInit) {
419
+ sandbox.stub((ArcGISImageryProvider.prototype as any), "fetch").callsFake(async function _(_url: unknown, _options?: unknown) {
420
420
  const test = {
421
421
  headers: { "content-type" : "pbf"},
422
422
  arrayBuffer: async () => {
@@ -444,7 +444,7 @@ describe("ArcGisFeatureProvider", () => {
444
444
  ...esriFeatureSampleSource,
445
445
  subLayers: [{id: 0, name: "layer1", visible:true}, {id:2, name: "layer2", visible:true}]}
446
446
  );
447
- sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
447
+ sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
448
448
  return {
449
449
  defaultVisibility:true,
450
450
  supportedQueryFormats:"PBF, JSON",
@@ -476,7 +476,7 @@ describe("ArcGisFeatureProvider", () => {
476
476
  ...esriFeatureSampleSource,
477
477
  subLayers: [{id: 0, name: "layer1", visible:true}, {id:2, name: "layer2", visible:true}]}
478
478
  );
479
- sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
479
+ sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
480
480
  return {
481
481
  defaultVisibility:true,
482
482
  supportedQueryFormats:"PBF, JSON",
@@ -508,7 +508,7 @@ describe("ArcGisFeatureProvider", () => {
508
508
  ...esriFeatureSampleSource,
509
509
  subLayers: [{id: 0, name: "layer1", visible:true}, {id:2, name: "layer2", visible:true}]}
510
510
  );
511
- sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
511
+ sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
512
512
  return {
513
513
  defaultVisibility:true,
514
514
  supportedQueryFormats:"PBF, JSON",
@@ -590,7 +590,7 @@ describe("ArcGisFeatureProvider", () => {
590
590
  ...esriFeatureSampleSource,
591
591
  subLayers: [{id: 0, name: "layer1", visible:true}, {id:2, name: "layer2", visible:true}]}
592
592
  );
593
- sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
593
+ sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
594
594
  return {
595
595
  defaultVisibility:true,
596
596
  supportedQueryFormats:"PBF",
@@ -640,7 +640,7 @@ describe("ArcGisFeatureProvider", () => {
640
640
  ...esriFeatureSampleSource,
641
641
  subLayers: [{id: 0, name: "layer1", visible:true}, {id:2, name: "layer2", visible:true}]}
642
642
  );
643
- sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
643
+ sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
644
644
  return {
645
645
  defaultVisibility:true,
646
646
  supportedQueryFormats:"JSON",
@@ -687,7 +687,7 @@ describe("ArcGisFeatureProvider", () => {
687
687
  ...esriFeatureSampleSource,
688
688
  subLayers: [{id: 0, name: "layer1", visible:true}, {id:2, name: "layer2", visible:true}]}
689
689
  );
690
- sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
690
+ sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
691
691
  return {
692
692
  defaultVisibility:true,
693
693
  supportedQueryFormats:"JSON",
@@ -777,7 +777,7 @@ describe("ArcGisFeatureProvider", () => {
777
777
  subLayers: [{id: 0, name: "layer1", visible:true}, {id:2, name: "layer2", visible:true}]}
778
778
  );
779
779
 
780
- sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: number) {
780
+ sandbox.stub((ArcGisFeatureProvider.prototype as any), "getLayerMetadata").callsFake(async function (_id: unknown) {
781
781
  return {
782
782
  defaultVisibility:true,
783
783
  supportedQueryFormats:"JSON",