@performant-software/geospatial 2.2.17 → 2.2.18-beta.1

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 (96) hide show
  1. package/dist/index.cjs15.js +1 -1
  2. package/dist/index.cjs16.js +1 -1
  3. package/dist/index.cjs180.js +1 -1
  4. package/dist/index.cjs181.js +1 -1
  5. package/dist/index.cjs19.js +1 -1
  6. package/dist/index.cjs20.js +1 -1
  7. package/dist/index.cjs209.js +1 -1
  8. package/dist/index.cjs21.js +1 -1
  9. package/dist/index.cjs210.js +1 -1
  10. package/dist/index.cjs211.js +1 -1
  11. package/dist/index.cjs229.js +1 -1
  12. package/dist/index.cjs235.js +1 -1
  13. package/dist/index.cjs235.js.map +1 -1
  14. package/dist/index.cjs236.js +1 -1
  15. package/dist/index.cjs236.js.map +1 -1
  16. package/dist/index.cjs244.js +1 -1
  17. package/dist/index.cjs249.js +1 -1
  18. package/dist/index.cjs252.js +1 -1
  19. package/dist/index.cjs256.js +1 -1
  20. package/dist/index.cjs256.js.map +1 -1
  21. package/dist/index.cjs257.js +1 -1
  22. package/dist/index.cjs257.js.map +1 -1
  23. package/dist/index.cjs51.js +1 -1
  24. package/dist/index.cjs63.js +1 -1
  25. package/dist/index.cjs63.js.map +1 -1
  26. package/dist/index.cjs64.js +1 -1
  27. package/dist/index.cjs64.js.map +1 -1
  28. package/dist/index.cjs65.js +1 -1
  29. package/dist/index.cjs65.js.map +1 -1
  30. package/dist/index.cjs66.js +1 -1
  31. package/dist/index.cjs66.js.map +1 -1
  32. package/dist/index.cjs67.js +1 -1
  33. package/dist/index.cjs67.js.map +1 -1
  34. package/dist/index.cjs68.js +1 -1
  35. package/dist/index.cjs68.js.map +1 -1
  36. package/dist/index.cjs69.js +1 -1
  37. package/dist/index.cjs69.js.map +1 -1
  38. package/dist/index.cjs70.js +1 -1
  39. package/dist/index.cjs70.js.map +1 -1
  40. package/dist/index.cjs71.js +1 -1
  41. package/dist/index.cjs71.js.map +1 -1
  42. package/dist/index.cjs72.js +1 -1
  43. package/dist/index.cjs72.js.map +1 -1
  44. package/dist/index.cjs73.js +1 -1
  45. package/dist/index.cjs73.js.map +1 -1
  46. package/dist/index.cjs74.js +1 -1
  47. package/dist/index.cjs74.js.map +1 -1
  48. package/dist/index.es15.js +5 -5
  49. package/dist/index.es16.js +1 -1
  50. package/dist/index.es180.js +1 -1
  51. package/dist/index.es181.js +1 -1
  52. package/dist/index.es19.js +1 -1
  53. package/dist/index.es20.js +2 -2
  54. package/dist/index.es209.js +1 -1
  55. package/dist/index.es21.js +2 -2
  56. package/dist/index.es210.js +1 -1
  57. package/dist/index.es211.js +1 -1
  58. package/dist/index.es229.js +1 -1
  59. package/dist/index.es235.js +4 -6
  60. package/dist/index.es235.js.map +1 -1
  61. package/dist/index.es236.js +6 -4
  62. package/dist/index.es236.js.map +1 -1
  63. package/dist/index.es244.js +1 -1
  64. package/dist/index.es249.js +1 -1
  65. package/dist/index.es252.js +1 -1
  66. package/dist/index.es256.js +15 -4
  67. package/dist/index.es256.js.map +1 -1
  68. package/dist/index.es257.js +4 -15
  69. package/dist/index.es257.js.map +1 -1
  70. package/dist/index.es51.js +5 -5
  71. package/dist/index.es63.js +2 -107
  72. package/dist/index.es63.js.map +1 -1
  73. package/dist/index.es64.js +55 -10
  74. package/dist/index.es64.js.map +1 -1
  75. package/dist/index.es65.js +48 -4
  76. package/dist/index.es65.js.map +1 -1
  77. package/dist/index.es66.js +37 -55
  78. package/dist/index.es66.js.map +1 -1
  79. package/dist/index.es67.js +11 -47
  80. package/dist/index.es67.js.map +1 -1
  81. package/dist/index.es68.js +14 -38
  82. package/dist/index.es68.js.map +1 -1
  83. package/dist/index.es69.js +29 -11
  84. package/dist/index.es69.js.map +1 -1
  85. package/dist/index.es70.js +10 -10
  86. package/dist/index.es70.js.map +1 -1
  87. package/dist/index.es71.js +13 -29
  88. package/dist/index.es71.js.map +1 -1
  89. package/dist/index.es72.js +10 -12
  90. package/dist/index.es72.js.map +1 -1
  91. package/dist/index.es73.js +109 -14
  92. package/dist/index.es73.js.map +1 -1
  93. package/dist/index.es74.js +10 -11
  94. package/dist/index.es74.js.map +1 -1
  95. package/dist/style.css +1 -1
  96. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("react"),a=require("./index.cjs66.js");require("./index.cjs67.js");require("./index.cjs68.js");require("./index.cjs69.js");require("./index.cjs70.js");require("./index.cjs71.js");const i=require("./index.cjs72.js");require("./index.cjs73.js");const c=require("./index.cjs180.js"),s=require("./index.cjs181.js"),l=require("./index.cjs74.js");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const p=f(u);function q(){return l.useMap()}const d=Promise.resolve().then(()=>require("./index.cjs179.js")).then(e=>e.index),o=p.forwardRef(function(t,r){return a.default(t,r,d)}),g=i,M=c,b=s;exports.Layer=M;exports.Map=o;exports.NavigationControl=g;exports.Source=b;exports.default=o;exports.useMap=q;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("react"),a=require("./index.cjs64.js");require("./index.cjs65.js");require("./index.cjs66.js");require("./index.cjs67.js");require("./index.cjs68.js");require("./index.cjs69.js");const i=require("./index.cjs70.js");require("./index.cjs71.js");const c=require("./index.cjs180.js"),s=require("./index.cjs181.js"),l=require("./index.cjs72.js");function f(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const p=f(u);function q(){return l.useMap()}const d=Promise.resolve().then(()=>require("./index.cjs179.js")).then(e=>e.index),o=p.forwardRef(function(t,r){return a.default(t,r,d)}),g=i,M=c,b=s;exports.Layer=M;exports.Map=o;exports.NavigationControl=g;exports.Source=b;exports.default=o;exports.useMap=q;
2
2
  //# sourceMappingURL=index.cjs15.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const u=require("react"),r=require("./index.cjs66.js");function C(l,o,n,p){const e=u.useContext(r.MapContext),t=u.useMemo(()=>l(e),[]);return u.useEffect(()=>{const c=p||n||o,i=typeof o=="function"&&typeof n=="function"?o:null,f=typeof n=="function"?n:typeof o=="function"?o:null,{map:s}=e;return s.hasControl(t)||(s.addControl(t,c==null?void 0:c.position),i&&i(e)),()=>{f&&f(e),s.hasControl(t)&&s.removeControl(t)}},[]),t}module.exports=C;
1
+ "use strict";const u=require("react"),r=require("./index.cjs64.js");function C(l,o,n,p){const e=u.useContext(r.MapContext),t=u.useMemo(()=>l(e),[]);return u.useEffect(()=>{const c=p||n||o,i=typeof o=="function"&&typeof n=="function"?o:null,f=typeof n=="function"?n:typeof o=="function"?o:null,{map:s}=e;return s.hasControl(t)||(s.addControl(t,c==null?void 0:c.position),i&&i(e)),()=>{f&&f(e),s.hasControl(t)&&s.removeControl(t)}},[]),t}module.exports=C;
2
2
  //# sourceMappingURL=index.cjs16.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const u=require("react"),m=require("./index.cjs66.js"),L=require("./index.cjs188.js"),s=require("./index.cjs187.js");function q(t,e,a,o){if(L(a.id===o.id,"layer id changed"),L(a.type===o.type,"layer type changed"),a.type==="custom"||o.type==="custom")return;const{layout:r={},paint:i={},filter:y,minzoom:f,maxzoom:l,beforeId:d}=a;if(d!==o.beforeId&&t.moveLayer(e,d),r!==o.layout){const c=o.layout||{};for(const n in r)s.deepEqual(r[n],c[n])||t.setLayoutProperty(e,n,r[n]);for(const n in c)r.hasOwnProperty(n)||t.setLayoutProperty(e,n,void 0)}if(i!==o.paint){const c=o.paint||{};for(const n in i)s.deepEqual(i[n],c[n])||t.setPaintProperty(e,n,i[n]);for(const n in c)i.hasOwnProperty(n)||t.setPaintProperty(e,n,void 0)}s.deepEqual(y,o.filter)||t.setFilter(e,y),(f!==o.minzoom||l!==o.maxzoom)&&t.setLayerZoomRange(e,f,l)}function g(t,e,a){if(t.style&&t.style._loaded&&(!("source"in a)||t.getSource(a.source))){const o={...a,id:e};delete o.beforeId,t.addLayer(o,a.beforeId)}}let x=0;function h(t){const e=u.useContext(m.MapContext).map.getMap(),a=u.useRef(t),[,o]=u.useState(0),r=u.useMemo(()=>t.id||`jsx-layer-${x++}`,[]);if(u.useEffect(()=>{if(e){const y=()=>o(f=>f+1);return e.on("styledata",y),y(),()=>{e.off("styledata",y),e.style&&e.style._loaded&&e.getLayer(r)&&e.removeLayer(r)}}},[e]),e&&e.style&&e.getLayer(r))try{q(e,r,t,a.current)}catch(y){console.warn(y)}else g(e,r,t);return a.current=t,null}module.exports=h;
1
+ "use strict";const u=require("react"),m=require("./index.cjs64.js"),L=require("./index.cjs188.js"),s=require("./index.cjs187.js");function q(t,e,a,o){if(L(a.id===o.id,"layer id changed"),L(a.type===o.type,"layer type changed"),a.type==="custom"||o.type==="custom")return;const{layout:r={},paint:i={},filter:y,minzoom:f,maxzoom:l,beforeId:d}=a;if(d!==o.beforeId&&t.moveLayer(e,d),r!==o.layout){const c=o.layout||{};for(const n in r)s.deepEqual(r[n],c[n])||t.setLayoutProperty(e,n,r[n]);for(const n in c)r.hasOwnProperty(n)||t.setLayoutProperty(e,n,void 0)}if(i!==o.paint){const c=o.paint||{};for(const n in i)s.deepEqual(i[n],c[n])||t.setPaintProperty(e,n,i[n]);for(const n in c)i.hasOwnProperty(n)||t.setPaintProperty(e,n,void 0)}s.deepEqual(y,o.filter)||t.setFilter(e,y),(f!==o.minzoom||l!==o.maxzoom)&&t.setLayerZoomRange(e,f,l)}function g(t,e,a){if(t.style&&t.style._loaded&&(!("source"in a)||t.getSource(a.source))){const o={...a,id:e};delete o.beforeId,t.addLayer(o,a.beforeId)}}let x=0;function h(t){const e=u.useContext(m.MapContext).map.getMap(),a=u.useRef(t),[,o]=u.useState(0),r=u.useMemo(()=>t.id||`jsx-layer-${x++}`,[]);if(u.useEffect(()=>{if(e){const y=()=>o(f=>f+1);return e.on("styledata",y),y(),()=>{e.off("styledata",y),e.style&&e.style._loaded&&e.getLayer(r)&&e.removeLayer(r)}}},[e]),e&&e.style&&e.getLayer(r))try{q(e,r,t,a.current)}catch(y){console.warn(y)}else g(e,r,t);return a.current=t,null}module.exports=h;
2
2
  //# sourceMappingURL=index.cjs180.js.map
@@ -1,2 +1,2 @@
1
- "use strict";const l=require("react"),f=require("./index.cjs66.js"),d=require("./index.cjs188.js"),y=require("./index.cjs187.js");function g(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const S=g(l);let m=0;function b(t,e,n){if(t.style&&t.style._loaded){const o={...n};return delete o.id,delete o.children,t.addSource(e,o),t.getSource(e)}return null}function h(t,e,n){d(e.id===n.id,"source id changed"),d(e.type===n.type,"source type changed");let o="",c=0;for(const r in e)r!=="children"&&r!=="id"&&!y.deepEqual(n[r],e[r])&&(o=r,c++);if(!c)return;const a=e.type;if(a==="geojson")t.setData(e.data);else if(a==="image")t.updateImage({url:e.url,coordinates:e.coordinates});else if("setCoordinates"in t&&c===1&&o==="coordinates")t.setCoordinates(e.coordinates);else if("setUrl"in t)switch(o){case"url":t.setUrl(e.url);break;case"tiles":t.setTiles(e.tiles);break}else console.warn(`Unable to update <Source> prop: ${o}`)}function C(t){const e=l.useContext(f.MapContext).map.getMap(),n=l.useRef(t),[,o]=l.useState(0),c=l.useMemo(()=>t.id||`jsx-source-${m++}`,[]);l.useEffect(()=>{if(e){const r=()=>setTimeout(()=>o(i=>i+1),0);return e.on("styledata",r),r(),()=>{var i;if(e.off("styledata",r),e.style&&e.style._loaded&&e.getSource(c)){const u=(i=e.getStyle())===null||i===void 0?void 0:i.layers;if(u)for(const s of u)s.source===c&&e.removeLayer(s.id);e.removeSource(c)}}}},[e]);let a=e&&e.style&&e.getSource(c);return a?h(a,t,n.current):a=b(e,c,t),n.current=t,a&&S.Children.map(t.children,r=>r&&l.cloneElement(r,{source:c}))||null}module.exports=C;
1
+ "use strict";const l=require("react"),f=require("./index.cjs64.js"),d=require("./index.cjs188.js"),y=require("./index.cjs187.js");function g(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const S=g(l);let m=0;function b(t,e,n){if(t.style&&t.style._loaded){const o={...n};return delete o.id,delete o.children,t.addSource(e,o),t.getSource(e)}return null}function h(t,e,n){d(e.id===n.id,"source id changed"),d(e.type===n.type,"source type changed");let o="",c=0;for(const r in e)r!=="children"&&r!=="id"&&!y.deepEqual(n[r],e[r])&&(o=r,c++);if(!c)return;const a=e.type;if(a==="geojson")t.setData(e.data);else if(a==="image")t.updateImage({url:e.url,coordinates:e.coordinates});else if("setCoordinates"in t&&c===1&&o==="coordinates")t.setCoordinates(e.coordinates);else if("setUrl"in t)switch(o){case"url":t.setUrl(e.url);break;case"tiles":t.setTiles(e.tiles);break}else console.warn(`Unable to update <Source> prop: ${o}`)}function C(t){const e=l.useContext(f.MapContext).map.getMap(),n=l.useRef(t),[,o]=l.useState(0),c=l.useMemo(()=>t.id||`jsx-source-${m++}`,[]);l.useEffect(()=>{if(e){const r=()=>setTimeout(()=>o(i=>i+1),0);return e.on("styledata",r),r(),()=>{var i;if(e.off("styledata",r),e.style&&e.style._loaded&&e.getSource(c)){const u=(i=e.getStyle())===null||i===void 0?void 0:i.layers;if(u)for(const s of u)s.source===c&&e.removeLayer(s.id);e.removeSource(c)}}}},[e]);let a=e&&e.style&&e.getSource(c);return a?h(a,t,n.current):a=b(e,c,t),n.current=t,a&&S.Children.map(t.children,r=>r&&l.cloneElement(r,{source:c}))||null}module.exports=C;
2
2
  //# sourceMappingURL=index.cjs181.js.map