@performant-software/geospatial 3.1.22-beta.0 → 3.1.22-beta.10

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 (560) hide show
  1. package/dist/index.cjs100.js +1 -1
  2. package/dist/index.cjs101.js +1 -1
  3. package/dist/index.cjs102.js +1 -1
  4. package/dist/index.cjs103.js +1 -1
  5. package/dist/index.cjs104.js +1 -1
  6. package/dist/index.cjs105.js +1 -1
  7. package/dist/index.cjs106.js +1 -1
  8. package/dist/index.cjs107.js +1 -1
  9. package/dist/index.cjs110.js +1 -1
  10. package/dist/index.cjs111.js +1 -1
  11. package/dist/index.cjs113.js +1 -1
  12. package/dist/index.cjs114.js +1 -1
  13. package/dist/index.cjs115.js +1 -1
  14. package/dist/index.cjs116.js +1 -1
  15. package/dist/index.cjs121.js +1 -1
  16. package/dist/index.cjs122.js +1 -1
  17. package/dist/index.cjs123.js +1 -1
  18. package/dist/index.cjs124.js +1 -1
  19. package/dist/index.cjs127.js +1 -1
  20. package/dist/index.cjs128.js +1 -1
  21. package/dist/index.cjs129.js +1 -1
  22. package/dist/index.cjs13.js +1 -1
  23. package/dist/index.cjs13.js.map +1 -1
  24. package/dist/index.cjs133.js +1 -1
  25. package/dist/index.cjs136.js +1 -1
  26. package/dist/index.cjs14.js +1 -1
  27. package/dist/index.cjs14.js.map +1 -1
  28. package/dist/index.cjs140.js +1 -1
  29. package/dist/index.cjs143.js +1 -1
  30. package/dist/index.cjs15.js +1 -1
  31. package/dist/index.cjs151.js +1 -1
  32. package/dist/index.cjs152.js +1 -1
  33. package/dist/index.cjs153.js +1 -1
  34. package/dist/index.cjs154.js +1 -1
  35. package/dist/index.cjs155.js +1 -1
  36. package/dist/index.cjs156.js +1 -1
  37. package/dist/index.cjs157.js +1 -1
  38. package/dist/index.cjs159.js +1 -1
  39. package/dist/index.cjs16.js +1 -1
  40. package/dist/index.cjs160.js +1 -1
  41. package/dist/index.cjs161.js +1 -1
  42. package/dist/index.cjs162.js +1 -1
  43. package/dist/index.cjs163.js +1 -1
  44. package/dist/index.cjs164.js +1 -1
  45. package/dist/index.cjs165.js +1 -1
  46. package/dist/index.cjs166.js +1 -1
  47. package/dist/index.cjs167.js +1 -1
  48. package/dist/index.cjs17.js +1 -1
  49. package/dist/index.cjs170.js +1 -1
  50. package/dist/index.cjs171.js +1 -1
  51. package/dist/index.cjs173.js +1 -1
  52. package/dist/index.cjs174.js +1 -1
  53. package/dist/index.cjs175.js +1 -1
  54. package/dist/index.cjs176.js +1 -1
  55. package/dist/index.cjs177.js +1 -1
  56. package/dist/index.cjs178.js +1 -1
  57. package/dist/index.cjs179.js +1 -1
  58. package/dist/index.cjs18.js +1 -1
  59. package/dist/index.cjs180.js +1 -1
  60. package/dist/index.cjs186.js +1 -1
  61. package/dist/index.cjs187.js +1 -1
  62. package/dist/index.cjs188.js +1 -1
  63. package/dist/index.cjs189.js +1 -1
  64. package/dist/index.cjs19.js +1 -1
  65. package/dist/index.cjs190.js +1 -1
  66. package/dist/index.cjs193.js +1 -1
  67. package/dist/index.cjs193.js.map +1 -1
  68. package/dist/index.cjs194.js +1 -1
  69. package/dist/index.cjs194.js.map +1 -1
  70. package/dist/index.cjs196.js +1 -1
  71. package/dist/index.cjs197.js +1 -1
  72. package/dist/index.cjs198.js +1 -1
  73. package/dist/index.cjs199.js +1 -1
  74. package/dist/index.cjs20.js +1 -1
  75. package/dist/index.cjs201.js +1 -1
  76. package/dist/index.cjs202.js +1 -1
  77. package/dist/index.cjs203.js +1 -1
  78. package/dist/index.cjs204.js +1 -1
  79. package/dist/index.cjs206.js +1 -1
  80. package/dist/index.cjs207.js +1 -1
  81. package/dist/index.cjs209.js +1 -1
  82. package/dist/index.cjs209.js.map +1 -1
  83. package/dist/index.cjs21.js +1 -1
  84. package/dist/index.cjs210.js +1 -1
  85. package/dist/index.cjs210.js.map +1 -1
  86. package/dist/index.cjs211.js +1 -1
  87. package/dist/index.cjs211.js.map +1 -1
  88. package/dist/index.cjs212.js +1 -1
  89. package/dist/index.cjs212.js.map +1 -1
  90. package/dist/index.cjs213.js +1 -1
  91. package/dist/index.cjs213.js.map +1 -1
  92. package/dist/index.cjs214.js +1 -1
  93. package/dist/index.cjs214.js.map +1 -1
  94. package/dist/index.cjs215.js +1 -1
  95. package/dist/index.cjs215.js.map +1 -1
  96. package/dist/index.cjs216.js +1 -1
  97. package/dist/index.cjs216.js.map +1 -1
  98. package/dist/index.cjs217.js +1 -7
  99. package/dist/index.cjs217.js.map +1 -1
  100. package/dist/index.cjs218.js +1 -1
  101. package/dist/index.cjs218.js.map +1 -1
  102. package/dist/index.cjs219.js +1 -1
  103. package/dist/index.cjs219.js.map +1 -1
  104. package/dist/index.cjs22.js +1 -1
  105. package/dist/index.cjs220.js +1 -1
  106. package/dist/index.cjs220.js.map +1 -1
  107. package/dist/index.cjs221.js +1 -1
  108. package/dist/index.cjs221.js.map +1 -1
  109. package/dist/index.cjs222.js +1 -1
  110. package/dist/index.cjs222.js.map +1 -1
  111. package/dist/index.cjs223.js +1 -1
  112. package/dist/index.cjs223.js.map +1 -1
  113. package/dist/index.cjs224.js +1 -1
  114. package/dist/index.cjs224.js.map +1 -1
  115. package/dist/index.cjs225.js +1 -1
  116. package/dist/index.cjs225.js.map +1 -1
  117. package/dist/index.cjs226.js +1 -1
  118. package/dist/index.cjs226.js.map +1 -1
  119. package/dist/index.cjs227.js +1 -1
  120. package/dist/index.cjs227.js.map +1 -1
  121. package/dist/index.cjs228.js +1 -1
  122. package/dist/index.cjs228.js.map +1 -1
  123. package/dist/index.cjs229.js +1 -1
  124. package/dist/index.cjs229.js.map +1 -1
  125. package/dist/index.cjs23.js +1 -1
  126. package/dist/index.cjs230.js +1 -1
  127. package/dist/index.cjs230.js.map +1 -1
  128. package/dist/index.cjs231.js +1 -1
  129. package/dist/index.cjs231.js.map +1 -1
  130. package/dist/index.cjs232.js +1 -1
  131. package/dist/index.cjs232.js.map +1 -1
  132. package/dist/index.cjs233.js +1 -1
  133. package/dist/index.cjs233.js.map +1 -1
  134. package/dist/index.cjs234.js +1 -1
  135. package/dist/index.cjs234.js.map +1 -1
  136. package/dist/index.cjs235.js +1 -1
  137. package/dist/index.cjs235.js.map +1 -1
  138. package/dist/index.cjs236.js +7 -1
  139. package/dist/index.cjs236.js.map +1 -1
  140. package/dist/index.cjs237.js +1 -1
  141. package/dist/index.cjs237.js.map +1 -1
  142. package/dist/index.cjs238.js +1 -1
  143. package/dist/index.cjs238.js.map +1 -1
  144. package/dist/index.cjs239.js +1 -1
  145. package/dist/index.cjs239.js.map +1 -1
  146. package/dist/index.cjs24.js +1 -1
  147. package/dist/index.cjs240.js +1 -1
  148. package/dist/index.cjs240.js.map +1 -1
  149. package/dist/index.cjs241.js +1 -1
  150. package/dist/index.cjs241.js.map +1 -1
  151. package/dist/index.cjs242.js +1 -1
  152. package/dist/index.cjs242.js.map +1 -1
  153. package/dist/index.cjs243.js +1 -1
  154. package/dist/index.cjs243.js.map +1 -1
  155. package/dist/index.cjs244.js +1 -1
  156. package/dist/index.cjs244.js.map +1 -1
  157. package/dist/index.cjs245.js +1 -1
  158. package/dist/index.cjs245.js.map +1 -1
  159. package/dist/index.cjs246.js +1 -1
  160. package/dist/index.cjs246.js.map +1 -1
  161. package/dist/index.cjs247.js +1 -1
  162. package/dist/index.cjs247.js.map +1 -1
  163. package/dist/index.cjs248.js +1 -1
  164. package/dist/index.cjs248.js.map +1 -1
  165. package/dist/index.cjs249.js +1 -1
  166. package/dist/index.cjs249.js.map +1 -1
  167. package/dist/index.cjs25.js +1 -1
  168. package/dist/index.cjs250.js +1 -1
  169. package/dist/index.cjs250.js.map +1 -1
  170. package/dist/index.cjs251.js +1 -1
  171. package/dist/index.cjs251.js.map +1 -1
  172. package/dist/index.cjs252.js +1 -1
  173. package/dist/index.cjs252.js.map +1 -1
  174. package/dist/index.cjs253.js +1 -1
  175. package/dist/index.cjs253.js.map +1 -1
  176. package/dist/index.cjs254.js +1 -1
  177. package/dist/index.cjs254.js.map +1 -1
  178. package/dist/index.cjs255.js +1 -1
  179. package/dist/index.cjs255.js.map +1 -1
  180. package/dist/index.cjs256.js +1 -1
  181. package/dist/index.cjs256.js.map +1 -1
  182. package/dist/index.cjs257.js +1 -1
  183. package/dist/index.cjs257.js.map +1 -1
  184. package/dist/index.cjs258.js +1 -1
  185. package/dist/index.cjs258.js.map +1 -1
  186. package/dist/index.cjs259.js +1 -1
  187. package/dist/index.cjs259.js.map +1 -1
  188. package/dist/index.cjs26.js +1 -1
  189. package/dist/index.cjs260.js +1 -1
  190. package/dist/index.cjs260.js.map +1 -1
  191. package/dist/index.cjs261.js +1 -1
  192. package/dist/index.cjs261.js.map +1 -1
  193. package/dist/index.cjs262.js +1 -1
  194. package/dist/index.cjs262.js.map +1 -1
  195. package/dist/index.cjs263.js +1 -1
  196. package/dist/index.cjs263.js.map +1 -1
  197. package/dist/index.cjs264.js +1 -1
  198. package/dist/index.cjs264.js.map +1 -1
  199. package/dist/index.cjs265.js +1 -1
  200. package/dist/index.cjs265.js.map +1 -1
  201. package/dist/index.cjs266.js +1 -1
  202. package/dist/index.cjs266.js.map +1 -1
  203. package/dist/index.cjs267.js +1 -1
  204. package/dist/index.cjs267.js.map +1 -1
  205. package/dist/index.cjs268.js +1 -1
  206. package/dist/index.cjs268.js.map +1 -1
  207. package/dist/index.cjs27.js +1 -1
  208. package/dist/index.cjs270.js +1 -1
  209. package/dist/index.cjs270.js.map +1 -1
  210. package/dist/index.cjs271.js +1 -1
  211. package/dist/index.cjs271.js.map +1 -1
  212. package/dist/index.cjs272.js +1 -1
  213. package/dist/index.cjs272.js.map +1 -1
  214. package/dist/index.cjs29.js +1 -1
  215. package/dist/index.cjs32.js +1 -1
  216. package/dist/index.cjs34.js +1 -1
  217. package/dist/index.cjs35.js +1 -1
  218. package/dist/index.cjs38.js +1 -1
  219. package/dist/index.cjs39.js +1 -1
  220. package/dist/index.cjs40.js +1 -1
  221. package/dist/index.cjs42.js +1 -1
  222. package/dist/index.cjs43.js +1 -1
  223. package/dist/index.cjs44.js +1 -1
  224. package/dist/index.cjs46.js +1 -1
  225. package/dist/index.cjs47.js +1 -1
  226. package/dist/index.cjs48.js +1 -1
  227. package/dist/index.cjs50.js +1 -1
  228. package/dist/index.cjs51.js +1 -1
  229. package/dist/index.cjs52.js +1 -1
  230. package/dist/index.cjs56.js +1 -1
  231. package/dist/index.cjs57.js +1 -1
  232. package/dist/index.cjs58.js +1 -1
  233. package/dist/index.cjs60.js +1 -1
  234. package/dist/index.cjs61.js +1 -1
  235. package/dist/index.cjs63.js +1 -1
  236. package/dist/index.cjs69.js +1 -1
  237. package/dist/index.cjs71.js +1 -1
  238. package/dist/index.cjs72.js +1 -1
  239. package/dist/index.cjs73.js +1 -1
  240. package/dist/index.cjs75.js +1 -1
  241. package/dist/index.cjs76.js +1 -1
  242. package/dist/index.cjs78.js +743 -1
  243. package/dist/index.cjs78.js.map +1 -1
  244. package/dist/index.cjs80.js +1 -9
  245. package/dist/index.cjs80.js.map +1 -1
  246. package/dist/index.cjs81.js +1 -17
  247. package/dist/index.cjs81.js.map +1 -1
  248. package/dist/index.cjs82.js +9 -1
  249. package/dist/index.cjs82.js.map +1 -1
  250. package/dist/index.cjs83.js +17 -1
  251. package/dist/index.cjs83.js.map +1 -1
  252. package/dist/index.cjs84.js +1 -1
  253. package/dist/index.cjs84.js.map +1 -1
  254. package/dist/index.cjs85.js +1 -1
  255. package/dist/index.cjs85.js.map +1 -1
  256. package/dist/index.cjs86.js +1 -1
  257. package/dist/index.cjs86.js.map +1 -1
  258. package/dist/index.cjs87.js +1 -743
  259. package/dist/index.cjs87.js.map +1 -1
  260. package/dist/index.cjs88.js +1 -1
  261. package/dist/index.cjs88.js.map +1 -1
  262. package/dist/index.cjs92.js +1 -1
  263. package/dist/index.cjs99.js +1 -1
  264. package/dist/index.es100.js +1 -1
  265. package/dist/index.es101.js +1 -1
  266. package/dist/index.es102.js +1 -1
  267. package/dist/index.es103.js +1 -1
  268. package/dist/index.es104.js +1 -1
  269. package/dist/index.es105.js +1 -1
  270. package/dist/index.es106.js +1 -1
  271. package/dist/index.es107.js +1 -1
  272. package/dist/index.es110.js +1 -1
  273. package/dist/index.es111.js +1 -1
  274. package/dist/index.es113.js +3 -3
  275. package/dist/index.es114.js +1 -1
  276. package/dist/index.es115.js +2 -2
  277. package/dist/index.es116.js +1 -1
  278. package/dist/index.es121.js +1 -1
  279. package/dist/index.es122.js +1 -1
  280. package/dist/index.es123.js +1 -1
  281. package/dist/index.es124.js +1 -1
  282. package/dist/index.es127.js +2 -2
  283. package/dist/index.es128.js +2 -2
  284. package/dist/index.es129.js +1 -1
  285. package/dist/index.es13.js +32 -31
  286. package/dist/index.es13.js.map +1 -1
  287. package/dist/index.es133.js +2 -2
  288. package/dist/index.es136.js +1 -1
  289. package/dist/index.es14.js +5 -1
  290. package/dist/index.es14.js.map +1 -1
  291. package/dist/index.es140.js +1 -1
  292. package/dist/index.es143.js +1 -1
  293. package/dist/index.es15.js +1 -1
  294. package/dist/index.es151.js +1 -1
  295. package/dist/index.es152.js +1 -1
  296. package/dist/index.es153.js +1 -1
  297. package/dist/index.es154.js +2 -2
  298. package/dist/index.es155.js +1 -1
  299. package/dist/index.es156.js +1 -1
  300. package/dist/index.es157.js +1 -1
  301. package/dist/index.es159.js +2 -2
  302. package/dist/index.es16.js +4 -4
  303. package/dist/index.es160.js +2 -2
  304. package/dist/index.es161.js +1 -1
  305. package/dist/index.es162.js +1 -1
  306. package/dist/index.es163.js +1 -1
  307. package/dist/index.es164.js +1 -1
  308. package/dist/index.es165.js +2 -2
  309. package/dist/index.es166.js +2 -2
  310. package/dist/index.es167.js +1 -1
  311. package/dist/index.es17.js +3 -3
  312. package/dist/index.es170.js +2 -2
  313. package/dist/index.es171.js +2 -2
  314. package/dist/index.es173.js +2 -2
  315. package/dist/index.es174.js +1 -1
  316. package/dist/index.es175.js +2 -2
  317. package/dist/index.es176.js +1 -1
  318. package/dist/index.es177.js +2 -2
  319. package/dist/index.es178.js +1 -1
  320. package/dist/index.es179.js +1 -1
  321. package/dist/index.es18.js +3 -3
  322. package/dist/index.es180.js +1 -1
  323. package/dist/index.es186.js +1 -1
  324. package/dist/index.es187.js +2 -2
  325. package/dist/index.es188.js +1 -1
  326. package/dist/index.es189.js +1 -1
  327. package/dist/index.es19.js +1 -1
  328. package/dist/index.es190.js +1 -1
  329. package/dist/index.es193.js +146 -16
  330. package/dist/index.es193.js.map +1 -1
  331. package/dist/index.es194.js +16 -146
  332. package/dist/index.es194.js.map +1 -1
  333. package/dist/index.es196.js +2 -2
  334. package/dist/index.es197.js +1 -1
  335. package/dist/index.es198.js +1 -1
  336. package/dist/index.es199.js +2 -2
  337. package/dist/index.es20.js +1 -1
  338. package/dist/index.es201.js +3 -3
  339. package/dist/index.es202.js +1 -1
  340. package/dist/index.es203.js +1 -1
  341. package/dist/index.es204.js +1 -1
  342. package/dist/index.es206.js +2 -2
  343. package/dist/index.es207.js +3 -3
  344. package/dist/index.es209.js +7 -242
  345. package/dist/index.es209.js.map +1 -1
  346. package/dist/index.es21.js +1 -1
  347. package/dist/index.es210.js +4 -42
  348. package/dist/index.es210.js.map +1 -1
  349. package/dist/index.es211.js +4 -3
  350. package/dist/index.es211.js.map +1 -1
  351. package/dist/index.es212.js +3 -11
  352. package/dist/index.es212.js.map +1 -1
  353. package/dist/index.es213.js +3 -11
  354. package/dist/index.es213.js.map +1 -1
  355. package/dist/index.es214.js +8 -30
  356. package/dist/index.es214.js.map +1 -1
  357. package/dist/index.es215.js +18 -13
  358. package/dist/index.es215.js.map +1 -1
  359. package/dist/index.es216.js +20 -4
  360. package/dist/index.es216.js.map +1 -1
  361. package/dist/index.es217.js +12 -7506
  362. package/dist/index.es217.js.map +1 -1
  363. package/dist/index.es218.js +15 -2
  364. package/dist/index.es218.js.map +1 -1
  365. package/dist/index.es219.js +5 -7
  366. package/dist/index.es219.js.map +1 -1
  367. package/dist/index.es22.js +1 -1
  368. package/dist/index.es220.js +7 -4
  369. package/dist/index.es220.js.map +1 -1
  370. package/dist/index.es221.js +7 -4
  371. package/dist/index.es221.js.map +1 -1
  372. package/dist/index.es222.js +22 -3
  373. package/dist/index.es222.js.map +1 -1
  374. package/dist/index.es223.js +10 -3
  375. package/dist/index.es223.js.map +1 -1
  376. package/dist/index.es224.js +9 -9
  377. package/dist/index.es224.js.map +1 -1
  378. package/dist/index.es225.js +4 -19
  379. package/dist/index.es225.js.map +1 -1
  380. package/dist/index.es226.js +10 -20
  381. package/dist/index.es226.js.map +1 -1
  382. package/dist/index.es227.js +7 -12
  383. package/dist/index.es227.js.map +1 -1
  384. package/dist/index.es228.js +20 -14
  385. package/dist/index.es228.js.map +1 -1
  386. package/dist/index.es229.js +10 -5
  387. package/dist/index.es229.js.map +1 -1
  388. package/dist/index.es23.js +1 -1
  389. package/dist/index.es230.js +17 -7
  390. package/dist/index.es230.js.map +1 -1
  391. package/dist/index.es231.js +4 -7
  392. package/dist/index.es231.js.map +1 -1
  393. package/dist/index.es232.js +16 -20
  394. package/dist/index.es232.js.map +1 -1
  395. package/dist/index.es233.js +10 -8
  396. package/dist/index.es233.js.map +1 -1
  397. package/dist/index.es234.js +4 -9
  398. package/dist/index.es234.js.map +1 -1
  399. package/dist/index.es235.js +4 -3
  400. package/dist/index.es235.js.map +1 -1
  401. package/dist/index.es236.js +7506 -10
  402. package/dist/index.es236.js.map +1 -1
  403. package/dist/index.es237.js +2 -8
  404. package/dist/index.es237.js.map +1 -1
  405. package/dist/index.es238.js +242 -20
  406. package/dist/index.es238.js.map +1 -1
  407. package/dist/index.es239.js +41 -9
  408. package/dist/index.es239.js.map +1 -1
  409. package/dist/index.es24.js +1 -1
  410. package/dist/index.es240.js +3 -18
  411. package/dist/index.es240.js.map +1 -1
  412. package/dist/index.es241.js +10 -3
  413. package/dist/index.es241.js.map +1 -1
  414. package/dist/index.es242.js +10 -17
  415. package/dist/index.es242.js.map +1 -1
  416. package/dist/index.es243.js +30 -11
  417. package/dist/index.es243.js.map +1 -1
  418. package/dist/index.es244.js +13 -3
  419. package/dist/index.es244.js.map +1 -1
  420. package/dist/index.es245.js +4 -4
  421. package/dist/index.es245.js.map +1 -1
  422. package/dist/index.es246.js +3 -21
  423. package/dist/index.es246.js.map +1 -1
  424. package/dist/index.es247.js +5 -22
  425. package/dist/index.es247.js.map +1 -1
  426. package/dist/index.es248.js +7 -24
  427. package/dist/index.es248.js.map +1 -1
  428. package/dist/index.es249.js +23 -15
  429. package/dist/index.es249.js.map +1 -1
  430. package/dist/index.es25.js +1 -1
  431. package/dist/index.es250.js +15 -29
  432. package/dist/index.es250.js.map +1 -1
  433. package/dist/index.es251.js +29 -20
  434. package/dist/index.es251.js.map +1 -1
  435. package/dist/index.es252.js +21 -74
  436. package/dist/index.es252.js.map +1 -1
  437. package/dist/index.es253.js +72 -18
  438. package/dist/index.es253.js.map +1 -1
  439. package/dist/index.es254.js +19 -39
  440. package/dist/index.es254.js.map +1 -1
  441. package/dist/index.es255.js +36 -45
  442. package/dist/index.es255.js.map +1 -1
  443. package/dist/index.es256.js +49 -7
  444. package/dist/index.es256.js.map +1 -1
  445. package/dist/index.es257.js +7 -20
  446. package/dist/index.es257.js.map +1 -1
  447. package/dist/index.es258.js +18 -63
  448. package/dist/index.es258.js.map +1 -1
  449. package/dist/index.es259.js +64 -41
  450. package/dist/index.es259.js.map +1 -1
  451. package/dist/index.es26.js +2 -2
  452. package/dist/index.es260.js +41 -62
  453. package/dist/index.es260.js.map +1 -1
  454. package/dist/index.es261.js +62 -7
  455. package/dist/index.es261.js.map +1 -1
  456. package/dist/index.es262.js +8 -3
  457. package/dist/index.es262.js.map +1 -1
  458. package/dist/index.es263.js +3 -12
  459. package/dist/index.es263.js.map +1 -1
  460. package/dist/index.es264.js +11 -58
  461. package/dist/index.es264.js.map +1 -1
  462. package/dist/index.es265.js +57 -47
  463. package/dist/index.es265.js.map +1 -1
  464. package/dist/index.es266.js +50 -3
  465. package/dist/index.es266.js.map +1 -1
  466. package/dist/index.es267.js +19 -4
  467. package/dist/index.es267.js.map +1 -1
  468. package/dist/index.es268.js +22 -7
  469. package/dist/index.es268.js.map +1 -1
  470. package/dist/index.es27.js +2 -2
  471. package/dist/index.es270.js +15 -4
  472. package/dist/index.es270.js.map +1 -1
  473. package/dist/index.es271.js +69 -15
  474. package/dist/index.es271.js.map +1 -1
  475. package/dist/index.es272.js +4 -69
  476. package/dist/index.es272.js.map +1 -1
  477. package/dist/index.es29.js +2 -2
  478. package/dist/index.es32.js +2 -2
  479. package/dist/index.es34.js +2 -2
  480. package/dist/index.es35.js +2 -2
  481. package/dist/index.es38.js +1 -1
  482. package/dist/index.es39.js +1 -1
  483. package/dist/index.es40.js +2 -2
  484. package/dist/index.es42.js +2 -2
  485. package/dist/index.es43.js +2 -2
  486. package/dist/index.es44.js +2 -2
  487. package/dist/index.es46.js +1 -1
  488. package/dist/index.es47.js +2 -2
  489. package/dist/index.es48.js +2 -2
  490. package/dist/index.es50.js +1 -1
  491. package/dist/index.es51.js +1 -1
  492. package/dist/index.es52.js +1 -1
  493. package/dist/index.es56.js +2 -2
  494. package/dist/index.es57.js +3 -3
  495. package/dist/index.es58.js +1 -1
  496. package/dist/index.es60.js +1 -1
  497. package/dist/index.es61.js +1 -1
  498. package/dist/index.es63.js +1 -1
  499. package/dist/index.es69.js +1 -1
  500. package/dist/index.es71.js +1 -1
  501. package/dist/index.es72.js +1 -1
  502. package/dist/index.es73.js +1 -1
  503. package/dist/index.es75.js +1 -1
  504. package/dist/index.es76.js +1 -1
  505. package/dist/index.es78.js +21351 -7
  506. package/dist/index.es78.js.map +1 -1
  507. package/dist/index.es80.js +7 -25
  508. package/dist/index.es80.js.map +1 -1
  509. package/dist/index.es81.js +2 -589
  510. package/dist/index.es81.js.map +1 -1
  511. package/dist/index.es82.js +25 -1992
  512. package/dist/index.es82.js.map +1 -1
  513. package/dist/index.es83.js +588 -5
  514. package/dist/index.es83.js.map +1 -1
  515. package/dist/index.es84.js +1993 -2
  516. package/dist/index.es84.js.map +1 -1
  517. package/dist/index.es85.js +5 -105
  518. package/dist/index.es85.js.map +1 -1
  519. package/dist/index.es86.js +2 -10
  520. package/dist/index.es86.js.map +1 -1
  521. package/dist/index.es87.js +104 -21350
  522. package/dist/index.es87.js.map +1 -1
  523. package/dist/index.es88.js +10 -2
  524. package/dist/index.es88.js.map +1 -1
  525. package/dist/index.es92.js +1 -1
  526. package/dist/index.es99.js +1 -1
  527. package/package.json +4 -1
  528. package/src/components/CertaintyLayer.js +0 -42
  529. package/src/components/DrawControl.js +0 -43
  530. package/src/components/GeoJsonLayer.js +0 -44
  531. package/src/components/GeocodingControl.css +0 -3
  532. package/src/components/GeocodingControl.js +0 -34
  533. package/src/components/LayerMenu.css +0 -38
  534. package/src/components/LayerMenu.js +0 -162
  535. package/src/components/LocationMarkers.js +0 -163
  536. package/src/components/MapControl.js +0 -120
  537. package/src/components/MapDraw.css +0 -2
  538. package/src/components/MapDraw.js +0 -268
  539. package/src/components/RasterLayer.js +0 -38
  540. package/src/components/WarpedImageLayer.js +0 -72
  541. package/src/components/WarpedImageLayerPeripleo.js +0 -56
  542. package/src/index.js +0 -18
  543. package/src/utils/Map.js +0 -258
  544. package/src/utils/MapStyles.js +0 -44
  545. package/types/components/CertaintyLayer.js.flow +0 -42
  546. package/types/components/DrawControl.js.flow +0 -43
  547. package/types/components/GeoJsonLayer.js.flow +0 -44
  548. package/types/components/GeocodingControl.js.flow +0 -34
  549. package/types/components/LayerMenu.js.flow +0 -162
  550. package/types/components/LocationMarkers.js.flow +0 -163
  551. package/types/components/MapCertaintyControl.js.flow +0 -71
  552. package/types/components/MapControl.js.flow +0 -120
  553. package/types/components/MapDraw.js.flow +0 -268
  554. package/types/components/RasterLayer.js.flow +0 -38
  555. package/types/components/WarpedImageLayer.js.flow +0 -72
  556. package/types/components/WarpedImageLayerPeripleo.js.flow +0 -56
  557. package/types/index.js.flow +0 -18
  558. package/types/utils/Map.js.flow +0 -258
  559. package/types/utils/MapStyles.js.flow +0 -44
  560. package/vite.config.js +0 -40
@@ -1,120 +0,0 @@
1
- // @flow
2
-
3
- import { IControl } from 'maplibre-gl';
4
- import {
5
- Children,
6
- cloneElement,
7
- useCallback,
8
- useEffect,
9
- useState
10
- } from 'react';
11
- import { createPortal } from 'react-dom';
12
- import { type MapboxMap, useControl } from 'react-map-gl/maplibre';
13
- import _ from 'underscore';
14
-
15
- /**
16
- * Class to implement the IControl interface to allow custom controls to be drawn on the map.
17
- */
18
- class IControlImpl implements IControl {
19
- _map: MapboxMap = null;
20
- _container: HTMLElement;
21
- _redraw: () => void;
22
-
23
- /**
24
- * Constructs a new IControlImpl object.
25
- *
26
- * @param redraw
27
- */
28
- constructor(redraw: () => void) {
29
- this._redraw = redraw;
30
- }
31
-
32
- /**
33
- * Creates the container when the component is added to the passed map.
34
- *
35
- * @param map
36
- *
37
- * @returns {HTMLElement}
38
- */
39
- onAdd(map) {
40
- this._map = map;
41
- map.on('move', this._redraw);
42
-
43
- this._container = document.createElement('div');
44
- this._container.className = 'maplibregl-ctrl-group maplibregl-ctrl';
45
- this._redraw();
46
- return this._container;
47
- }
48
-
49
- /**
50
- * Removes the container when the component is removed from the map.
51
- */
52
- onRemove() {
53
- this._container.remove();
54
- this._map.off('move', this._redraw);
55
- this._map = null;
56
- }
57
-
58
- /**
59
- * Returns the map instance.
60
- *
61
- * @returns {mapboxgl.Map}
62
- */
63
- getMap() {
64
- return this._map;
65
- }
66
-
67
- /**
68
- * Returns the container instance.
69
- *
70
- * @returns {HTMLElement}
71
- */
72
- getElement() {
73
- return this._container;
74
- }
75
- }
76
-
77
- const MapControl = (props) => {
78
- const [, setVersion] = useState(0);
79
-
80
- /**
81
- * Forces the component to re-render on map move.
82
- *
83
- * @type {function(): void}
84
- */
85
- const forceUpdate = useCallback(() => setVersion((v) => v + 1), []);
86
-
87
- /**
88
- * Creates the map control.
89
- *
90
- * @type {IControlImpl}
91
- */
92
- const ctrl = useControl(() => new IControlImpl(forceUpdate), { position: props.position });
93
-
94
- /**
95
- * Sets the map instance.
96
- *
97
- * @type {mapboxgl.Map}
98
- */
99
- const map = ctrl.getMap();
100
-
101
- /**
102
- * Creates the list of children to be added to the map instance.
103
- *
104
- * @type {Array<$NonMaybeType<*>>}
105
- */
106
- const children = Children.map(_.compact(Children.toArray(props.children)), (child) => cloneElement(child, { map }));
107
-
108
- /**
109
- * Sets the map ref.
110
- */
111
- useEffect(() => {
112
- if (props.mapRef) {
113
- props.mapRef.current = map;
114
- }
115
- }, [map, props.mapRef]);
116
-
117
- return map && createPortal(children, ctrl.getElement());
118
- };
119
-
120
- export default MapControl;
@@ -1,2 +0,0 @@
1
- @import '@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.css';
2
- @import 'maplibre-gl/dist/maplibre-gl.css';
@@ -1,268 +0,0 @@
1
- // @flow
2
-
3
- import MapboxDraw from '@mapbox/mapbox-gl-draw';
4
- import { feature, type FeatureCollection, type GeometryCollection } from '@turf/turf';
5
- import maplibregl from 'maplibre-gl';
6
- import React, {
7
- useCallback,
8
- useEffect,
9
- useMemo,
10
- useRef,
11
- useState,
12
- type Node
13
- } from 'react';
14
- import Map, {
15
- FullscreenControl,
16
- type MapboxMap,
17
- NavigationControl
18
- } from 'react-map-gl/maplibre';
19
- import _ from 'underscore';
20
- import DrawControl from './DrawControl';
21
- import GeocodingControl from './GeocodingControl';
22
- import MapUtils from '../utils/Map';
23
-
24
- import '@maptiler/geocoding-control/style.css';
25
- import './MapDraw.css';
26
-
27
- // Override the MapboxDraw components to use MapLibre styles
28
- MapboxDraw.constants.classes.CONTROL_BASE = 'maplibregl-ctrl';
29
- MapboxDraw.constants.classes.CONTROL_PREFIX = 'maplibregl-ctrl-';
30
- MapboxDraw.constants.classes.CONTROL_GROUP = 'maplibregl-ctrl-group';
31
-
32
- type Props = {
33
- /**
34
- * MapTiler API key.
35
- */
36
- apiKey?: string,
37
-
38
- /**
39
- * The number of miles to buffer the GeoJSON data.
40
- */
41
- buffer?: number,
42
-
43
- /**
44
- * Additional child nodes to render.
45
- */
46
- children?: Node,
47
-
48
- /**
49
- * If `true`, the map will require CTRL + scroll to zoom.
50
- */
51
- cooperativeGestures?: boolean,
52
-
53
- /**
54
- * GeoJSON structured data to be displayed on the map.
55
- */
56
- data: GeometryCollection | FeatureCollection,
57
-
58
- /**
59
- * If `true`, a control will be rendered to put the map in full screen mode.
60
- */
61
- fullscreen?: boolean,
62
-
63
- /**
64
- * Controls the type of GeoJSON data returned from the MapTiler Geocoding API.
65
- */
66
- geocoding?: undefined | 'point' | 'polygon',
67
-
68
- /**
69
- * URL of the map style to render. This URL should contain any necessary API keys.
70
- */
71
- mapStyle: string,
72
-
73
- /**
74
- * The maximum pitch of the map (0-85).
75
- */
76
- maxPitch?: number,
77
-
78
- /**
79
- * If `true`, the navigation controls will display.
80
- */
81
- navigation?: boolean,
82
-
83
- /**
84
- * Callback fired when the map geometries are changed.
85
- *
86
- * @param features
87
- */
88
- onChange: (features: Array<any>) => void,
89
-
90
- /**
91
- * Callback fired when an item is selected from the geocoding dropdown.
92
- */
93
- onGeocodingSelection?: (data: any) => void,
94
-
95
- /**
96
- * If `true`, the map's canvas can be exported to a PNG using `map.getCanvas().toDataURL()`.
97
- */
98
- preserveDrawingBuffer?: boolean,
99
-
100
- /**
101
- * Map style object.
102
- */
103
- style?: any,
104
-
105
- /**
106
- * The time in milliseconds to zoom into the location.
107
- */
108
- zoomDuration?: number
109
- };
110
-
111
- const DEFAULT_BUFFER = 2;
112
- const DEFAULT_ZOOM_DELAY = 1000;
113
-
114
- const GeometryTypes = {
115
- geometryCollection: 'GeometryCollection',
116
- point: 'Point',
117
- polygon: ['Polygon', 'MultiPolygon']
118
- };
119
-
120
- /**
121
- * This component renders a map with controls for drawing one or more geometries. Geometries can be a point (lat/long),
122
- * a line, or a polygon.
123
- */
124
- const MapDraw = (props: Props) => {
125
- const [loaded, setLoaded] = useState(false);
126
-
127
- const drawRef = useRef<MapboxDraw>();
128
- const mapRef = useRef<MapboxMap>();
129
-
130
- /**
131
- * Returns true if the passed geometry type is valid. MapTiler fires the onSelection callback twice: Once after
132
- * selecting the record from the list (with a point geometry), and once after making a call to the server for the
133
- * full record (polygon geometry). We should on fire the onGeocodingSelection callback and add the geometry to the
134
- * map once.
135
- *
136
- * @type {function({geometry: {type: *}}): *}
137
- */
138
- const isValid = useCallback((detail) => {
139
- if (!detail) {
140
- return false;
141
- }
142
-
143
- const { geometry: { type } } = detail;
144
-
145
- return (props.geocoding === 'point' && type === GeometryTypes.point)
146
- || (props.geocoding === 'polygon' && GeometryTypes.polygon.includes(type));
147
- }, [props.geocoding]);
148
-
149
- /**
150
- * Calls the onChange prop with all of the geometries in the current drawer.
151
- *
152
- * @type {(function(): void)|*}
153
- */
154
- const onChange = useCallback(() => props.onChange(drawRef.current.getAll()), [props.onChange]);
155
-
156
- /**
157
- * Adds the selected geometry to the map.
158
- *
159
- * @type {(function({feature: *}): void)|*}
160
- */
161
- const onSelection = useCallback(({ feature }) => {
162
- if (isValid(feature)) {
163
- // Add the geometry to the map
164
- drawRef.current.add(feature.geometry);
165
-
166
- // Trigger the onChange prop
167
- onChange();
168
-
169
- // Call the onGeocoding selection callback
170
- if (props.onGeocodingSelection) {
171
- props.onGeocodingSelection(feature);
172
- }
173
- }
174
- }, [isValid, onChange, props.onGeocodingSelection]);
175
-
176
- /**
177
- * Sets the map style URL.
178
- *
179
- * @type {string}
180
- */
181
- const mapStyleUrl = useMemo(() => `${props.mapStyle}?key=${props.apiKey}`, [props.apiKey, props.mapStyle]);
182
-
183
- /**
184
- * Sets the element map style.
185
- *
186
- * @type {{width: string, height: number}}
187
- */
188
- const style = useMemo(() => ({ height: 500, width: '100%', ...(props.style || {}) }), [props.style]);
189
-
190
- /**
191
- * Updates the map bounding box and drawer when the geometry is changed.
192
- */
193
- useEffect(() => {
194
- if (loaded && props.data) {
195
- // Sets the bounding box for the current geometry
196
- const bbox = MapUtils.getBoundingBox(props.data, props.buffer);
197
-
198
- if (bbox) {
199
- mapRef.current.fitBounds(bbox, { duration: props.zoomDuration });
200
- }
201
-
202
- // Handle special cases for geometry collection (not supported by mabox-gl-draw) and point
203
- if (props.data.type === GeometryTypes.geometryCollection) {
204
- _.each(props.data.geometries, (geometry) => {
205
- drawRef.current.add(feature(geometry));
206
- });
207
- } else {
208
- drawRef.current.add(props.data);
209
- }
210
- }
211
- }, [loaded, props.data]);
212
-
213
- return (
214
- <Map
215
- attributionControl={false}
216
- cooperativeGestures={props.cooperativeGestures}
217
- mapLib={maplibregl}
218
- maxPitch={props.maxPitch}
219
- onLoad={() => setLoaded(true)}
220
- preserveDrawingBuffer={props.preserveDrawingBuffer}
221
- ref={mapRef}
222
- style={style}
223
- mapStyle={mapStyleUrl}
224
- >
225
- <DrawControl
226
- ref={drawRef}
227
- controls={{
228
- line_string: true,
229
- point: true,
230
- polygon: true,
231
- trash: true
232
- }}
233
- displayControlsDefault={false}
234
- onCreate={onChange}
235
- onUpdate={onChange}
236
- onDelete={onChange}
237
- position='bottom-left'
238
- />
239
- { props.geocoding && (
240
- <GeocodingControl
241
- apiKey={props.apiKey}
242
- key={props.geocoding}
243
- marker={false}
244
- pickedResultStyle={props.geocoding === 'polygon' ? 'full-geometry' : 'marker-only'}
245
- position='top-left'
246
- onSelection={onSelection}
247
- showResultMarkers={false}
248
- />
249
- )}
250
- { props.navigation && (
251
- <NavigationControl />
252
- )}
253
- { props.fullscreen && (
254
- <FullscreenControl />
255
- )}
256
- { props.children }
257
- </Map>
258
- );
259
- };
260
-
261
- MapDraw.defaultProps = {
262
- buffer: DEFAULT_BUFFER,
263
- cooperativeGestures: true,
264
- preserveDrawingBuffer: false,
265
- zoomDuration: DEFAULT_ZOOM_DELAY
266
- };
267
-
268
- export default MapDraw;
@@ -1,38 +0,0 @@
1
- // @flow
2
-
3
- import React from 'react';
4
- import { Layer, Source } from 'react-map-gl/maplibre';
5
-
6
- type Props = {
7
- maxzoom?: number,
8
- minzoom?: number,
9
- opacity?: number,
10
- tileSize?: number,
11
- url?: string,
12
- };
13
-
14
- const RasterLayer = (props: Props) => (
15
- <Source
16
- tileSize={props.tileSize}
17
- tiles={[props.url]}
18
- type='raster'
19
- >
20
- <Layer
21
- type='raster'
22
- paint={{
23
- 'raster-opacity': props.opacity
24
- }}
25
- minzoom={props.minzoom}
26
- maxzoom={props.maxzoom}
27
- />
28
- </Source>
29
- );
30
-
31
- RasterLayer.defaultProps = {
32
- maxzoom: 22,
33
- minzoom: 0,
34
- opacity: 0.7,
35
- tileSize: 256
36
- };
37
-
38
- export default RasterLayer;
@@ -1,72 +0,0 @@
1
- // @flow
2
-
3
- import { useEffect, useState } from 'react';
4
- import { useMap } from 'react-map-gl/maplibre';
5
- import MapUtils from '../utils/Map';
6
-
7
- type Props = {
8
- /**
9
- * ID of the new layer.
10
- */
11
- id: string,
12
-
13
- /**
14
- * (Optional) IIIF manifest content containing the image and geo-reference annotations.
15
- */
16
- manifest?: string,
17
-
18
- /**
19
- * (Optional) layer opacity.
20
- */
21
- opacity?: number,
22
-
23
- /**
24
- * (Optional) URL to the IIIF manifest.
25
- */
26
- url?: string
27
- };
28
-
29
- const WarpedImageLayer = (props: Props) => {
30
- const [loaded, setLoaded] = useState(false);
31
-
32
- const mapRef = useMap();
33
-
34
- /**
35
- * Sets the "loaded" attribute on the state based on the current map state.
36
- */
37
- useEffect(() => {
38
- const instance = mapRef?.current?.getMap();
39
- if (instance && instance.loaded()) {
40
- setLoaded(true);
41
- } else if (instance) {
42
- instance.on('load', () => setLoaded(true));
43
- }
44
- }, []);
45
-
46
- /**
47
- * Adds the WarpedMapLayer object to the map as a new layer.
48
- */
49
- useEffect(() => {
50
- if (!loaded) {
51
- return undefined;
52
- }
53
-
54
- const map = mapRef.current.getMap();
55
-
56
- MapUtils.addGeoreferenceLayer(map, props.id, {
57
- manifest: props.manifest,
58
- opacity: props.opacity,
59
- url: props.url
60
- });
61
-
62
- return () => MapUtils.removeLayer(map, props.id);
63
- }, [loaded]);
64
-
65
- return null;
66
- };
67
-
68
- WarpedImageLayer.defaultProps = {
69
- opacity: 0.5
70
- };
71
-
72
- export default WarpedImageLayer;
@@ -1,56 +0,0 @@
1
- // @flow
2
-
3
- import { useEffect } from 'react';
4
- import { useLoadedMap } from '@peripleo/maplibre';
5
- import MapUtils from '../utils/Map';
6
-
7
- type Props = {
8
- /**
9
- * ID of the new layer.
10
- */
11
- id: string,
12
-
13
- /**
14
- * (Optional) IIIF manifest content containing the image and geo-reference annotations.
15
- */
16
- manifest?: string,
17
-
18
- /**
19
- * (Optional) layer opacity.
20
- */
21
- opacity?: number,
22
-
23
- /**
24
- * (Optional) URL to the IIIF manifest.
25
- */
26
- url?: string
27
- };
28
-
29
- const WarpedImageLayer = (props: Props) => {
30
- const map = useLoadedMap();
31
-
32
- /**
33
- * Adds the WarpedMapLayer object to the map as a new layer.
34
- */
35
- useEffect(() => {
36
- if (!map) {
37
- return undefined;
38
- }
39
-
40
- MapUtils.addGeoreferenceLayer(map, props.id, {
41
- manifest: props.manifest,
42
- opacity: props.opacity,
43
- url: props.url
44
- });
45
-
46
- return () => MapUtils.removeLayer(map, props.id);
47
- }, [map]);
48
-
49
- return null;
50
- };
51
-
52
- WarpedImageLayer.defaultProps = {
53
- opacity: 0.5
54
- };
55
-
56
- export default WarpedImageLayer;
package/src/index.js DELETED
@@ -1,18 +0,0 @@
1
- // @flow
2
-
3
- // Components
4
- export { default as CertaintyLayer } from './components/CertaintyLayer';
5
- export { default as DrawControl } from './components/DrawControl';
6
- export { default as GeoJsonLayer } from './components/GeoJsonLayer';
7
- export { default as GeocodingControl } from './components/GeocodingControl';
8
- export { default as LayerMenu } from './components/LayerMenu';
9
- export { default as LocationMarkers } from './components/LocationMarkers';
10
- export { default as MapControl } from './components/MapControl';
11
- export { default as MapDraw } from './components/MapDraw';
12
- export { default as RasterLayer } from './components/RasterLayer';
13
- export { default as WarpedImageLayer } from './components/WarpedImageLayer';
14
- export { default as WarpedImageLayerPeripleo } from './components/WarpedImageLayerPeripleo';
15
-
16
- // Utils
17
- export { default as Map } from './utils/Map';
18
- export { default as MapStyles } from './utils/MapStyles';