Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@geoarrow/deck.gl-layers

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@geoarrow/deck.gl-layers - npm Package Compare versions

Comparing version 0.3.0-beta.1 to 0.3.0-beta.2

dist/heatmap-layer.d.ts

2

dist/dist.umd.js

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@deck.gl/core/typed"),require("@deck.gl/layers/typed"),require("apache-arrow"),require("@math.gl/polygon")):"function"==typeof define&&define.amd?define(["exports","@deck.gl/core/typed","@deck.gl/layers/typed","apache-arrow","@math.gl/polygon"],e):e(((t="undefined"!=typeof globalThis?globalThis:t||self)["@geoarrow/deck"]=t["@geoarrow/deck"]||{},t["@geoarrow/deck"]["gl-geoarrow"]={}),t.deck,t.deck,t.arrow,t.polygon)}(this,(function(t,e,r,s,o){"use strict";function i(t){var e=Object.create(null);return t&&Object.keys(t).forEach((function(r){if("default"!==r){var s=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,s.get?s:{enumerable:!0,get:function(){return t[r]}})}})),e.default=t,Object.freeze(e)}var n,p=i(s);function a(t){const{props:r,propName:s,propInput:o,chunkIdx:i,geomCoordOffsets:n}=t;if(void 0!==o)if(o instanceof p.Vector){const t=o.data[i];if(p.DataType.isFixedSizeList(t)){e.assert(1===t.children.length);let o=t.children[0].values;n&&(o=l(o,t.type.listSize,n)),r.data.attributes[s]={value:o,size:t.type.listSize,normalized:!0}}else if(p.DataType.isFloat(t)){let e=t.values;n&&(e=l(e,1,n)),r.data.attributes[s]={value:e,size:1}}}else r[s]=o}function l(t,e,r){const s=r[r.length-1],o=new t.constructor(s*e);for(let s=0;s<r.length-1;s++){const i=r[s],n=r[s+1];for(let r=i;r<n;r++)for(let i=0;i<e;i++)o[r*e+i]=t[s*e+i]}return o}function h(t,e){const r=function(t,e,r){const s=t.fields.findIndex((t=>t.name===r||t.metadata.get("ARROW:extension:name")===e));return-1!==s?s:null}(t.schema,e);return null===r?null:t.getChildAt(r)}function d(t,r){for(const s of r)e.assert(t.batches.length===s.data.length);for(const s of r)for(let r=0;r<t.batches.length;r++)e.assert(t.batches[r].numRows===s.data[r].length)}function c(t){e.assert(p.DataType.isFixedSizeList(t.type)),e.assert(3===t.type.listSize||4===t.type.listSize),e.assert(p.DataType.isInt(t.type.children[0])),e.assert(8===t.type.children[0].type.bitWidth)}function u(t){return!!p.DataType.isFixedSizeList(t.type)&&((2===t.type.listSize||3===t.type.listSize)&&!!p.DataType.isFloat(t.type.children[0]))}function g(t){return!!p.DataType.isList(t.type)&&!!u(t.getChildAt(0))}function f(t){return!!p.DataType.isList(t.type)&&!!g(t.getChildAt(0))}function y(t){return e.assert(p.DataType.isFixedSizeList(t)),e.assert(2===t.listSize||3===t.listSize),e.assert(p.DataType.isFloat(t.children[0])),!0}function m(t){return e.assert(p.DataType.isList(t)),y(t.children[0].type),!0}function L(t){return e.assert(p.DataType.isList(t)),m(t.children[0].type),!0}function x(t){return t.children[0]}function v(t){return t.children[0]}function C(t){return t.children[0]}function P(t){return t.children[0]}function w(t){return t.children[0]}function I(t){const e=t.valueOffsets,r=P(t).valueOffsets,s=new Int32Array(e.length);for(let t=0;t<s.length;++t)s[t]=r[e[t]];return s}function S(t){const e=t.valueOffsets,r=C(t).valueOffsets,s=new Int32Array(e.length);for(let t=0;t<s.length;++t)s[t]=r[e[t]];return s}function b(t){const e=w(t),r=C(e),s=t.valueOffsets,o=e.valueOffsets,i=r.valueOffsets,n=new Int32Array(s.length);for(let t=0;t<n.length;++t)n[t]=i[o[s[t]]];return n}function _(t){const e=t[t.length-1],r=new(t.length<Math.pow(2,8)?Uint8Array:t.length<Math.pow(2,16)?Uint16Array:Uint32Array)(e);for(let e=0;e<t.length-1;e++){const s=t[e],o=t[e+1];for(let t=s;t<o;t++)r[t]=e}return r}!function(t){t.POINT="geoarrow.point",t.LINESTRING="geoarrow.linestring",t.POLYGON="geoarrow.polygon",t.MULTIPOINT="geoarrow.multipoint",t.MULTILINESTRING="geoarrow.multilinestring",t.MULTIPOLYGON="geoarrow.multipolygon"}(n||(n={}));const O={widthUnits:"meters",widthScale:{type:"number",min:0,value:1},widthMinPixels:{type:"number",min:0,value:0},widthMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},jointRounded:!1,capRounded:!1,miterLimit:{type:"number",min:0,value:4},billboard:!1,_pathType:"open",_validate:!0,getColor:{type:"accessor",value:[0,0,0,255]},getWidth:{type:"accessor",value:1}};class M extends e.CompositeLayer{static defaultProps=O;static layerName="GeoArrowPathLayer";getPickingInfo({info:t,sourceLayer:e}){const{data:r}=this.props;let s=t.index;e.props.invertedGeomOffsets&&(s=e.props.invertedGeomOffsets[s]);const o=e.props.recordBatchIdx,i=r.batches[o].get(s);return s+=r._offsets[o],{...t,index:s,object:i}}renderLayers(){const{data:t}=this.props,e=h(t,n.LINESTRING);if(null!==e)return this._renderLayersLineString(e);const r=h(t,n.MULTILINESTRING);if(null!==r)return this._renderLayersMultiLineString(r);const s=this.props.getPath;if(g(s))return this._renderLayersLineString(s);if(o=s,p.DataType.isList(o.type)&&g(o.getChildAt(0)))return this._renderLayersMultiLineString(s);var o;throw new Error("geometryColumn not LineString or MultiLineString")}_renderLayersLineString(t){const{data:e}=this.props;if(this.props._validate){const r=[t];for(const t of[this.props.getColor,this.props.getWidth])t instanceof p.Vector&&r.push(t);m(t.type),d(e,r),this.props.getColor instanceof p.Vector&&c(this.props.getColor)}const s=[];for(let o=0;o<e.batches.length;o++){const e=t.data[o],i=e.valueOffsets,n=v(e),p=n.type.listSize,l=x(n).values,h={recordBatchIdx:o,id:`${this.props.id}-geoarrow-path-${o}`,widthUnits:this.props.widthUnits,widthScale:this.props.widthScale,widthMinPixels:this.props.widthMinPixels,widthMaxPixels:this.props.widthMaxPixels,jointRounded:this.props.jointRounded,capRounded:this.props.capRounded,miterLimit:this.props.miterLimit,billboard:this.props.billboard,_pathType:this.props._pathType,data:{length:e.length,startIndices:i,attributes:{getPath:{value:l,size:p}}}};a({props:h,propName:"getColor",propInput:this.props.getColor,chunkIdx:o,geomCoordOffsets:i}),a({props:h,propName:"getWidth",propInput:this.props.getWidth,chunkIdx:o,geomCoordOffsets:i});const d=new r.PathLayer(this.getSubLayerProps(h));s.push(d)}return s}_renderLayersMultiLineString(t){const{data:s}=this.props;if(this.props._validate){const r=[t];for(const t of[this.props.getColor,this.props.getWidth])t instanceof p.Vector&&r.push(t);o=t.type,e.assert(p.DataType.isList(o)),m(o.children[0].type),d(s,r),this.props.getColor instanceof p.Vector&&c(this.props.getColor)}var o;const i=[];for(let e=0;e<s.batches.length;e++){const s=t.data[e],o=P(s),n=v(o),p=x(n),l=s.valueOffsets,h=o.valueOffsets,d=n.type.listSize,c=p.values,u=I(s),g={recordBatchIdx:e,invertedGeomOffsets:_(l),id:`${this.props.id}-geoarrow-path-${e}`,widthUnits:this.props.widthUnits,widthScale:this.props.widthScale,widthMinPixels:this.props.widthMinPixels,widthMaxPixels:this.props.widthMaxPixels,jointRounded:this.props.jointRounded,capRounded:this.props.capRounded,miterLimit:this.props.miterLimit,billboard:this.props.billboard,_pathType:this.props._pathType,data:{length:o.length,startIndices:h,attributes:{getPath:{value:c,size:d}}}};a({props:g,propName:"getColor",propInput:this.props.getColor,chunkIdx:e,geomCoordOffsets:u}),a({props:g,propName:"getWidth",propInput:this.props.getWidth,chunkIdx:e,geomCoordOffsets:u});const f=new r.PathLayer(this.getSubLayerProps(g));i.push(f)}return i}}const T=[0,0,0,255],N={radiusUnits:"meters",radiusScale:{type:"number",min:0,value:1},radiusMinPixels:{type:"number",min:0,value:0},radiusMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},lineWidthUnits:"meters",lineWidthScale:{type:"number",min:0,value:1},lineWidthMinPixels:{type:"number",min:0,value:0},lineWidthMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},stroked:!1,filled:!0,billboard:!1,antialiasing:!0,_validate:!0,getRadius:{type:"accessor",value:1},getFillColor:{type:"accessor",value:T},getLineColor:{type:"accessor",value:T},getLineWidth:{type:"accessor",value:1}};class k extends e.CompositeLayer{static defaultProps=N;static layerName="GeoArrowScatterplotLayer";getPickingInfo({info:t,sourceLayer:e}){const{data:r}=this.props;let s=t.index;e.props.invertedGeomOffsets&&(s=e.props.invertedGeomOffsets[s]);const o=e.props.recordBatchIdx,i=r.batches[o].get(s);return s+=r._offsets[o],{...t,index:s,object:i}}renderLayers(){const{data:t}=this.props,e=h(t,n.POINT);if(null!==e)return this._renderLayersPoint(e);const r=h(t,n.MULTIPOINT);if(null!==r)return this._renderLayersMultiPoint(r);const s=this.props.getPosition;if(u(s))return this._renderLayersPoint(s);if(o=s,p.DataType.isList(o.type)&&u(o.getChildAt(0)))return this._renderLayersMultiPoint(s);var o;throw new Error("geometryColumn not point or multipoint")}_renderLayersPoint(t){const{data:e}=this.props;if(this.props._validate){const r=[t];for(const t of[this.props.getRadius,this.props.getFillColor,this.props.getLineColor,this.props.getLineWidth])t instanceof p.Vector&&r.push(t);y(t.type),d(e,r),this.props.getFillColor instanceof p.Vector&&c(this.props.getFillColor),this.props.getLineColor instanceof p.Vector&&c(this.props.getLineColor)}const s=[];for(let o=0;o<e.batches.length;o++){const e=t.data[o],i=x(e).values,n={recordBatchIdx:o,id:`${this.props.id}-geoarrow-scatterplot-${o}`,radiusUnits:this.props.radiusUnits,radiusScale:this.props.radiusScale,radiusMinPixels:this.props.radiusMinPixels,radiusMaxPixels:this.props.radiusMaxPixels,lineWidthUnits:this.props.lineWidthUnits,lineWidthScale:this.props.lineWidthScale,lineWidthMinPixels:this.props.lineWidthMinPixels,lineWidthMaxPixels:this.props.lineWidthMaxPixels,stroked:this.props.stroked,filled:this.props.filled,billboard:this.props.billboard,antialiasing:this.props.antialiasing,data:{length:e.length,attributes:{getPosition:{value:i,size:e.type.listSize}}}};a({props:n,propName:"getRadius",propInput:this.props.getRadius,chunkIdx:o}),a({props:n,propName:"getFillColor",propInput:this.props.getFillColor,chunkIdx:o}),a({props:n,propName:"getLineColor",propInput:this.props.getLineColor,chunkIdx:o}),a({props:n,propName:"getLineWidth",propInput:this.props.getLineWidth,chunkIdx:o});const p=new r.ScatterplotLayer(this.getSubLayerProps(n));s.push(p)}return s}_renderLayersMultiPoint(t){const{data:s}=this.props;if(this.props._validate){const r=[t];for(const t of[this.props.getRadius,this.props.getFillColor,this.props.getLineColor,this.props.getLineWidth])t instanceof p.Vector&&r.push(t);o=t.type,e.assert(p.DataType.isList(o)),y(o.children[0].type),d(s,r),this.props.getFillColor instanceof p.Vector&&c(this.props.getFillColor),this.props.getLineColor instanceof p.Vector&&c(this.props.getLineColor)}var o;const i=[];for(let e=0;e<s.batches.length;e++){const s=t.data[e],o=s.children[0],n=s.valueOffsets,p=x(o).values,l={recordBatchIdx:e,invertedGeomOffsets:_(n),id:`${this.props.id}-geoarrow-scatterplot-${e}`,radiusUnits:this.props.radiusUnits,radiusScale:this.props.radiusScale,radiusMinPixels:this.props.radiusMinPixels,radiusMaxPixels:this.props.radiusMaxPixels,lineWidthUnits:this.props.lineWidthUnits,lineWidthScale:this.props.lineWidthScale,lineWidthMinPixels:this.props.lineWidthMinPixels,lineWidthMaxPixels:this.props.lineWidthMaxPixels,stroked:this.props.stroked,filled:this.props.filled,billboard:this.props.billboard,antialiasing:this.props.antialiasing,data:{length:o.length,attributes:{getPosition:{value:p,size:o.type.listSize}}}};a({props:l,propName:"getRadius",propInput:this.props.getRadius,chunkIdx:e,geomCoordOffsets:n}),a({props:l,propName:"getFillColor",propInput:this.props.getFillColor,chunkIdx:e,geomCoordOffsets:n}),a({props:l,propName:"getLineColor",propInput:this.props.getLineColor,chunkIdx:e,geomCoordOffsets:n}),a({props:l,propName:"getLineWidth",propInput:this.props.getLineWidth,chunkIdx:e,geomCoordOffsets:n});const h=new r.ScatterplotLayer(this.getSubLayerProps(l));i.push(h)}return i}}function W(t){const e=[];let r=0;for(let s=0;s<t.length;s++){const o=z(t,s);e.push(o),r+=o.length}const s=new Uint32Array(r);let o=0;for(const t of e)for(const e of t)s[o]=e,o+=1;return s}function z(t,e){const r=t.valueOffsets,s=C(t),i=s.valueOffsets,n=v(s),p=n.type.listSize,a=x(n),l=r[e],h=r[e+1],d=i[l],c=i[h],u=a.values.subarray(d*p,c*p),g=i[l],f=[];for(let t=l+1;t<h;t++)f.push(i[t]-g);const y=o.earcut(u,f,p);for(let t=0;t<y.length;t++)y[t]+=g;return y}const A=[0,0,0,255],F={filled:!0,extruded:!1,wireframe:!1,_normalize:!1,_windingOrder:"CCW",_full3d:!1,_validate:!0,elevationScale:{type:"number",min:0,value:1},getElevation:{type:"accessor",value:1e3},getFillColor:{type:"accessor",value:A},getLineColor:{type:"accessor",value:A},material:!0};class G extends e.CompositeLayer{static defaultProps=F;static layerName="GeoArrowSolidPolygonLayer";getPickingInfo({info:t,sourceLayer:e}){const{data:r}=this.props;let s=t.index;e.props.invertedGeomOffsets&&(s=e.props.invertedGeomOffsets[s]);const o=e.props.recordBatchIdx,i=r.batches[o].get(s);return s+=r._offsets[o],{...t,index:s,object:i}}renderLayers(){const{data:t}=this.props,e=h(t,n.POLYGON);if(null!==e)return this._renderLayersPolygon(e);const r=h(t,n.MULTIPOLYGON);if(null!==r)return this._renderLayersMultiPolygon(r);const s=this.props.getPolygon;if(f(s))return this._renderLayersPolygon(s);if(o=s,p.DataType.isList(o.type)&&f(o.getChildAt(0)))return this._renderLayersMultiPolygon(s);var o;throw new Error("geometryColumn not Polygon or MultiPolygon")}_renderLayersPolygon(t){const{data:e}=this.props;if(this.props._validate){const r=[t];for(const t of[this.props.getElevation,this.props.getFillColor,this.props.getLineColor])t instanceof p.Vector&&r.push(t);L(t.type),d(e,r),this.props.getFillColor instanceof p.Vector&&c(this.props.getFillColor),this.props.getLineColor instanceof p.Vector&&c(this.props.getLineColor)}const s=[];for(let o=0;o<e.batches.length;o++){const e=t.data[o],i=v(C(e)),n=x(i),p=i.type.listSize,l=n.values,h=S(e),d=W(e),c={recordBatchIdx:o,id:`${this.props.id}-geoarrow-point-${o}`,filled:this.props.filled,extruded:this.props.extruded,wireframe:this.props.wireframe,_normalize:this.props._normalize,_windingOrder:this.props._windingOrder,_full3d:this.props._full3d,elevationScale:this.props.elevationScale,material:this.props.material,data:{length:e.length,startIndices:h,attributes:{getPolygon:{value:l,size:p},indices:{value:d,size:1}}}};a({props:c,propName:"getElevation",propInput:this.props.getElevation,chunkIdx:o,geomCoordOffsets:h}),a({props:c,propName:"getFillColor",propInput:this.props.getFillColor,chunkIdx:o,geomCoordOffsets:h}),a({props:c,propName:"getLineColor",propInput:this.props.getLineColor,chunkIdx:o,geomCoordOffsets:h});const u=new r.SolidPolygonLayer(this.getSubLayerProps(c));s.push(u)}return s}_renderLayersMultiPolygon(t){const{data:s}=this.props;if(this.props._validate){const r=[t];for(const t of[this.props.getElevation,this.props.getFillColor,this.props.getLineColor])t instanceof p.Vector&&r.push(t);o=t.type,e.assert(p.DataType.isList(o)),L(o.children[0].type),d(s,r),this.props.getFillColor instanceof p.Vector&&c(this.props.getFillColor),this.props.getLineColor instanceof p.Vector&&c(this.props.getLineColor)}var o;const i=[];for(let e=0;e<s.batches.length;e++){const s=t.data[e],o=w(s),n=v(C(o)),p=x(n),l=n.type.listSize,h=s.valueOffsets,d=p.values,c=W(o),u=S(o),g=b(s),f={recordBatchIdx:e,invertedGeomOffsets:_(h),id:`${this.props.id}-geoarrow-point-${e}`,filled:this.props.filled,extruded:this.props.extruded,wireframe:this.props.wireframe,_normalize:this.props._normalize,_windingOrder:this.props._windingOrder,_full3d:this.props._full3d,elevationScale:this.props.elevationScale,material:this.props.material,data:{length:o.length,startIndices:u,attributes:{getPolygon:{value:d,size:l},indices:{value:c,size:1}}}};a({props:f,propName:"getElevation",propInput:this.props.getElevation,chunkIdx:e,geomCoordOffsets:g}),a({props:f,propName:"getFillColor",propInput:this.props.getFillColor,chunkIdx:e,geomCoordOffsets:g}),a({props:f,propName:"getLineColor",propInput:this.props.getLineColor,chunkIdx:e,geomCoordOffsets:g});const y=new r.SolidPolygonLayer(this.getSubLayerProps(f));i.push(y)}return i}}const R=[0,0,0,255],U={_validate:!0,getSourceColor:{type:"accessor",value:R},getTargetColor:{type:"accessor",value:R},getWidth:{type:"accessor",value:1},getHeight:{type:"accessor",value:1},getTilt:{type:"accessor",value:0},greatCircle:!1,numSegments:{type:"number",value:50,min:1},widthUnits:"pixels",widthScale:{type:"number",value:1,min:0},widthMinPixels:{type:"number",value:0,min:0},widthMaxPixels:{type:"number",value:Number.MAX_SAFE_INTEGER,min:0}};class E extends e.CompositeLayer{static defaultProps=U;static layerName="GeoArrowArcLayer";getPickingInfo({info:t,sourceLayer:e}){const{data:r}=this.props;let s=t.index;const o=e.props.recordBatchIdx,i=r.batches[o].get(s);return s+=r._offsets[o],{...t,index:s,object:i}}renderLayers(){return this._renderLayersPoint()}_renderLayersPoint(){const{data:t,getSourcePosition:e,getTargetPosition:s}=this.props;if(this.props._validate){const r=[e,s];for(const t of[this.props.getSourceColor,this.props.getTargetColor,this.props.getWidth,this.props.getHeight,this.props.getTilt])t instanceof p.Vector&&r.push(t);if(y(e.type),y(s.type),t)d(t,r);else{d(new p.Table({source:e,target:s}),r)}this.props.getSourceColor instanceof p.Vector&&c(this.props.getSourceColor),this.props.getTargetColor instanceof p.Vector&&c(this.props.getTargetColor)}const o=[];for(let i=0;i<t.batches.length;i++){const t=e.data[i],n=x(t).values,p=s.data[i],l=x(p).values,h={recordBatchIdx:i,id:`${this.props.id}-geoarrow-arc-${i}`,greatCircle:this.props.greatCircle,numSegments:this.props.numSegments,widthUnits:this.props.widthUnits,widthScale:this.props.widthScale,widthMinPixels:this.props.widthMinPixels,widthMaxPixels:this.props.widthMaxPixels,data:{length:t.length,attributes:{getSourcePosition:{value:n,size:t.type.listSize},getTargetPosition:{value:l,size:p.type.listSize}}}};a({props:h,propName:"getSourceColor",propInput:this.props.getSourceColor,chunkIdx:i}),a({props:h,propName:"getTargetColor",propInput:this.props.getTargetColor,chunkIdx:i}),a({props:h,propName:"getWidth",propInput:this.props.getWidth,chunkIdx:i}),a({props:h,propName:"getHeight",propInput:this.props.getHeight,chunkIdx:i}),a({props:h,propName:"getTilt",propInput:this.props.getTilt,chunkIdx:i});const d=new r.ArcLayer(this.getSubLayerProps(h));o.push(d)}return o}}t.GeoArrowArcLayer=E,t.GeoArrowPathLayer=M,t.GeoArrowScatterplotLayer=k,t.GeoArrowSolidPolygonLayer=G}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@deck.gl/core/typed"),require("@deck.gl/layers/typed"),require("apache-arrow"),require("@deck.gl/aggregation-layers/typed"),require("@math.gl/polygon")):"function"==typeof define&&define.amd?define(["exports","@deck.gl/core/typed","@deck.gl/layers/typed","apache-arrow","@deck.gl/aggregation-layers/typed","@math.gl/polygon"],t):t(((e="undefined"!=typeof globalThis?globalThis:e||self)["@geoarrow/deck"]=e["@geoarrow/deck"]||{},e["@geoarrow/deck"]["gl-geoarrow"]={}),e.deck,e.deck,e.arrow,e.deck,e.polygon)}(this,(function(e,t,r,s,o,i){"use strict";function n(e){var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var p=n(s);function a(e){const{props:r,propName:s,propInput:o,chunkIdx:i,geomCoordOffsets:n}=e;if(void 0!==o)if(o instanceof p.Vector){const e=o.data[i];if(p.DataType.isFixedSizeList(e)){t.assert(1===e.children.length);let o=e.children[0].values;n&&(o=l(o,e.type.listSize,n)),r.data.attributes[s]={value:o,size:e.type.listSize,normalized:!0}}else if(p.DataType.isFloat(e)){let t=e.values;n&&(t=l(t,1,n)),r.data.attributes[s]={value:t,size:1}}}else r[s]=o}function l(e,t,r){const s=r[r.length-1],o=new e.constructor(s*t);for(let s=0;s<r.length-1;s++){const i=r[s],n=r[s+1];for(let r=i;r<n;r++)for(let i=0;i<t;i++)o[r*t+i]=e[s*t+i]}return o}function h(e,t){const r=function(e,t,r){const s=e.fields.findIndex((e=>e.name===r||e.metadata.get("ARROW:extension:name")===t));return-1!==s?s:null}(e.schema,t);return null===r?null:e.getChildAt(r)}function d(e,r){for(const s of r)t.assert(e.batches.length===s.data.length);for(const s of r)for(let r=0;r<e.batches.length;r++)t.assert(e.batches[r].numRows===s.data[r].length)}function c(e){t.assert(p.DataType.isFixedSizeList(e.type)),t.assert(3===e.type.listSize||4===e.type.listSize),t.assert(p.DataType.isInt(e.type.children[0])),t.assert(8===e.type.children[0].type.bitWidth)}function u(e){return!!p.DataType.isFixedSizeList(e.type)&&((2===e.type.listSize||3===e.type.listSize)&&!!p.DataType.isFloat(e.type.children[0]))}function g(e){return!!p.DataType.isList(e.type)&&!!u(e.getChildAt(0))}function f(e){return!!p.DataType.isList(e.type)&&!!g(e.getChildAt(0))}function y(e){return t.assert(p.DataType.isFixedSizeList(e)),t.assert(2===e.listSize||3===e.listSize),t.assert(p.DataType.isFloat(e.children[0])),!0}function m(e){return t.assert(p.DataType.isList(e)),y(e.children[0].type),!0}function L(e){return t.assert(p.DataType.isList(e)),m(e.children[0].type),!0}function x(e){return e.children[0]}function v(e){return e.children[0]}function P(e){return e.children[0]}function w(e){return e.children[0]}function C(e){return e.children[0]}function I(e){const t=e.valueOffsets,r=w(e).valueOffsets,s=new Int32Array(t.length);for(let e=0;e<s.length;++e)s[e]=r[t[e]];return s}function b(e){const t=e.valueOffsets,r=P(e).valueOffsets,s=new Int32Array(t.length);for(let e=0;e<s.length;++e)s[e]=r[t[e]];return s}function S(e){const t=C(e),r=P(t),s=e.valueOffsets,o=t.valueOffsets,i=r.valueOffsets,n=new Int32Array(s.length);for(let e=0;e<n.length;++e)n[e]=i[o[s[e]]];return n}function _(e){const t=e[e.length-1],r=new(e.length<Math.pow(2,8)?Uint8Array:e.length<Math.pow(2,16)?Uint16Array:Uint32Array)(t);for(let t=0;t<e.length-1;t++){const s=e[t],o=e[t+1];for(let e=s;e<o;e++)r[e]=t}return r}const O=[0,0,0,255],T={_validate:!0,getSourceColor:{type:"accessor",value:O},getTargetColor:{type:"accessor",value:O},getWidth:{type:"accessor",value:1},getHeight:{type:"accessor",value:1},getTilt:{type:"accessor",value:0},greatCircle:!1,numSegments:{type:"number",value:50,min:1},widthUnits:"pixels",widthScale:{type:"number",value:1,min:0},widthMinPixels:{type:"number",value:0,min:0},widthMaxPixels:{type:"number",value:Number.MAX_SAFE_INTEGER,min:0}};class M extends t.CompositeLayer{static defaultProps=T;static layerName="GeoArrowArcLayer";getPickingInfo({info:e,sourceLayer:t}){const{data:r}=this.props;let s=e.index;const o=t.props.recordBatchIdx,i=r.batches[o].get(s);return s+=r._offsets[o],{...e,index:s,object:i}}renderLayers(){return this._renderLayersPoint()}_renderLayersPoint(){const{data:e,getSourcePosition:t,getTargetPosition:s}=this.props;if(this.props._validate){const r=[t,s];for(const e of[this.props.getSourceColor,this.props.getTargetColor,this.props.getWidth,this.props.getHeight,this.props.getTilt])e instanceof p.Vector&&r.push(e);if(y(t.type),y(s.type),e)d(e,r);else{d(new p.Table({source:t,target:s}),r)}this.props.getSourceColor instanceof p.Vector&&c(this.props.getSourceColor),this.props.getTargetColor instanceof p.Vector&&c(this.props.getTargetColor)}const o=[];for(let i=0;i<e.batches.length;i++){const e=t.data[i],n=x(e).values,p=s.data[i],l=x(p).values,h={recordBatchIdx:i,id:`${this.props.id}-geoarrow-arc-${i}`,greatCircle:this.props.greatCircle,numSegments:this.props.numSegments,widthUnits:this.props.widthUnits,widthScale:this.props.widthScale,widthMinPixels:this.props.widthMinPixels,widthMaxPixels:this.props.widthMaxPixels,data:{length:e.length,attributes:{getSourcePosition:{value:n,size:e.type.listSize},getTargetPosition:{value:l,size:p.type.listSize}}}};a({props:h,propName:"getSourceColor",propInput:this.props.getSourceColor,chunkIdx:i}),a({props:h,propName:"getTargetColor",propInput:this.props.getTargetColor,chunkIdx:i}),a({props:h,propName:"getWidth",propInput:this.props.getWidth,chunkIdx:i}),a({props:h,propName:"getHeight",propInput:this.props.getHeight,chunkIdx:i}),a({props:h,propName:"getTilt",propInput:this.props.getTilt,chunkIdx:i});const d=new r.ArcLayer(this.getSubLayerProps(h));o.push(d)}return o}}var N;!function(e){e.POINT="geoarrow.point",e.LINESTRING="geoarrow.linestring",e.POLYGON="geoarrow.polygon",e.MULTIPOINT="geoarrow.multipoint",e.MULTILINESTRING="geoarrow.multilinestring",e.MULTIPOLYGON="geoarrow.multipolygon"}(N||(N={}));const k={_validate:!0,getWeight:{type:"accessor",value:1},intensity:{type:"number",min:0,value:1},radiusPixels:{type:"number",min:1,max:100,value:50},colorRange:[[255,255,178],[254,217,118],[254,178,76],[253,141,60],[240,59,32],[189,0,38]],threshold:{type:"number",min:0,max:1,value:.05},colorDomain:{type:"array",value:null,optional:!0},aggregation:"SUM",weightsTextureSize:{type:"number",min:128,max:2048,value:2048},debounceTimeout:{type:"number",min:0,max:1e3,value:500}};class z extends t.CompositeLayer{static defaultProps=k;static layerName="GeoArrowHeatmapLayer";renderLayers(){const{data:e}=this.props,t=h(e,N.POINT);if(null!==t)return this._renderLayersPoint(t);const r=this.props.getPosition;if(u(r))return this._renderLayersPoint(r);throw new Error("geometryColumn not point")}_renderLayersPoint(e){const{data:t}=this.props;if(this.props._validate){const r=[e];for(const e of[this.props.getWeight])e instanceof p.Vector&&r.push(e);y(e.type),d(t,r)}const r=[];for(let s=0;s<t.batches.length;s++){const t=e.data[s],i=x(t).values,n={recordBatchIdx:s,id:`${this.props.id}-geoarrow-heatmap-${s}`,radiusPixels:this.props.radiusPixels,colorRange:this.props.colorRange,intensity:this.props.intensity,threshold:this.props.threshold,colorDomain:this.props.colorDomain,aggregation:this.props.aggregation,weightsTextureSize:this.props.weightsTextureSize,debounceTimeout:this.props.debounceTimeout,data:{length:t.length,attributes:{getPosition:{value:i,size:t.type.listSize}}}};a({props:n,propName:"getWeight",propInput:this.props.getWeight,chunkIdx:s});const p=new o.HeatmapLayer(this.getSubLayerProps(n));r.push(p)}return r}}const W={widthUnits:"meters",widthScale:{type:"number",min:0,value:1},widthMinPixels:{type:"number",min:0,value:0},widthMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},jointRounded:!1,capRounded:!1,miterLimit:{type:"number",min:0,value:4},billboard:!1,_pathType:"open",_validate:!0,getColor:{type:"accessor",value:[0,0,0,255]},getWidth:{type:"accessor",value:1}};class A extends t.CompositeLayer{static defaultProps=W;static layerName="GeoArrowPathLayer";getPickingInfo({info:e,sourceLayer:t}){const{data:r}=this.props;let s=e.index;t.props.invertedGeomOffsets&&(s=t.props.invertedGeomOffsets[s]);const o=t.props.recordBatchIdx,i=r.batches[o].get(s);return s+=r._offsets[o],{...e,index:s,object:i}}renderLayers(){const{data:e}=this.props,t=h(e,N.LINESTRING);if(null!==t)return this._renderLayersLineString(t);const r=h(e,N.MULTILINESTRING);if(null!==r)return this._renderLayersMultiLineString(r);const s=this.props.getPath;if(g(s))return this._renderLayersLineString(s);if(o=s,p.DataType.isList(o.type)&&g(o.getChildAt(0)))return this._renderLayersMultiLineString(s);var o;throw new Error("geometryColumn not LineString or MultiLineString")}_renderLayersLineString(e){const{data:t}=this.props;if(this.props._validate){const r=[e];for(const e of[this.props.getColor,this.props.getWidth])e instanceof p.Vector&&r.push(e);m(e.type),d(t,r),this.props.getColor instanceof p.Vector&&c(this.props.getColor)}const s=[];for(let o=0;o<t.batches.length;o++){const t=e.data[o],i=t.valueOffsets,n=v(t),p=n.type.listSize,l=x(n).values,h={recordBatchIdx:o,id:`${this.props.id}-geoarrow-path-${o}`,widthUnits:this.props.widthUnits,widthScale:this.props.widthScale,widthMinPixels:this.props.widthMinPixels,widthMaxPixels:this.props.widthMaxPixels,jointRounded:this.props.jointRounded,capRounded:this.props.capRounded,miterLimit:this.props.miterLimit,billboard:this.props.billboard,_pathType:this.props._pathType,data:{length:t.length,startIndices:i,attributes:{getPath:{value:l,size:p}}}};a({props:h,propName:"getColor",propInput:this.props.getColor,chunkIdx:o,geomCoordOffsets:i}),a({props:h,propName:"getWidth",propInput:this.props.getWidth,chunkIdx:o,geomCoordOffsets:i});const d=new r.PathLayer(this.getSubLayerProps(h));s.push(d)}return s}_renderLayersMultiLineString(e){const{data:s}=this.props;if(this.props._validate){const r=[e];for(const e of[this.props.getColor,this.props.getWidth])e instanceof p.Vector&&r.push(e);o=e.type,t.assert(p.DataType.isList(o)),m(o.children[0].type),d(s,r),this.props.getColor instanceof p.Vector&&c(this.props.getColor)}var o;const i=[];for(let t=0;t<s.batches.length;t++){const s=e.data[t],o=w(s),n=v(o),p=x(n),l=s.valueOffsets,h=o.valueOffsets,d=n.type.listSize,c=p.values,u=I(s),g={recordBatchIdx:t,invertedGeomOffsets:_(l),id:`${this.props.id}-geoarrow-path-${t}`,widthUnits:this.props.widthUnits,widthScale:this.props.widthScale,widthMinPixels:this.props.widthMinPixels,widthMaxPixels:this.props.widthMaxPixels,jointRounded:this.props.jointRounded,capRounded:this.props.capRounded,miterLimit:this.props.miterLimit,billboard:this.props.billboard,_pathType:this.props._pathType,data:{length:o.length,startIndices:h,attributes:{getPath:{value:c,size:d}}}};a({props:g,propName:"getColor",propInput:this.props.getColor,chunkIdx:t,geomCoordOffsets:u}),a({props:g,propName:"getWidth",propInput:this.props.getWidth,chunkIdx:t,geomCoordOffsets:u});const f=new r.PathLayer(this.getSubLayerProps(g));i.push(f)}return i}}const F=[0,0,0,255],G={radiusUnits:"meters",radiusScale:{type:"number",min:0,value:1},radiusMinPixels:{type:"number",min:0,value:0},radiusMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},lineWidthUnits:"meters",lineWidthScale:{type:"number",min:0,value:1},lineWidthMinPixels:{type:"number",min:0,value:0},lineWidthMaxPixels:{type:"number",min:0,value:Number.MAX_SAFE_INTEGER},stroked:!1,filled:!0,billboard:!1,antialiasing:!0,_validate:!0,getRadius:{type:"accessor",value:1},getFillColor:{type:"accessor",value:F},getLineColor:{type:"accessor",value:F},getLineWidth:{type:"accessor",value:1}};class R extends t.CompositeLayer{static defaultProps=G;static layerName="GeoArrowScatterplotLayer";getPickingInfo({info:e,sourceLayer:t}){const{data:r}=this.props;let s=e.index;t.props.invertedGeomOffsets&&(s=t.props.invertedGeomOffsets[s]);const o=t.props.recordBatchIdx,i=r.batches[o].get(s);return s+=r._offsets[o],{...e,index:s,object:i}}renderLayers(){const{data:e}=this.props,t=h(e,N.POINT);if(null!==t)return this._renderLayersPoint(t);const r=h(e,N.MULTIPOINT);if(null!==r)return this._renderLayersMultiPoint(r);const s=this.props.getPosition;if(u(s))return this._renderLayersPoint(s);if(o=s,p.DataType.isList(o.type)&&u(o.getChildAt(0)))return this._renderLayersMultiPoint(s);var o;throw new Error("geometryColumn not point or multipoint")}_renderLayersPoint(e){const{data:t}=this.props;if(this.props._validate){const r=[e];for(const e of[this.props.getRadius,this.props.getFillColor,this.props.getLineColor,this.props.getLineWidth])e instanceof p.Vector&&r.push(e);y(e.type),d(t,r),this.props.getFillColor instanceof p.Vector&&c(this.props.getFillColor),this.props.getLineColor instanceof p.Vector&&c(this.props.getLineColor)}const s=[];for(let o=0;o<t.batches.length;o++){const t=e.data[o],i=x(t).values,n={recordBatchIdx:o,id:`${this.props.id}-geoarrow-scatterplot-${o}`,radiusUnits:this.props.radiusUnits,radiusScale:this.props.radiusScale,radiusMinPixels:this.props.radiusMinPixels,radiusMaxPixels:this.props.radiusMaxPixels,lineWidthUnits:this.props.lineWidthUnits,lineWidthScale:this.props.lineWidthScale,lineWidthMinPixels:this.props.lineWidthMinPixels,lineWidthMaxPixels:this.props.lineWidthMaxPixels,stroked:this.props.stroked,filled:this.props.filled,billboard:this.props.billboard,antialiasing:this.props.antialiasing,data:{length:t.length,attributes:{getPosition:{value:i,size:t.type.listSize}}}};a({props:n,propName:"getRadius",propInput:this.props.getRadius,chunkIdx:o}),a({props:n,propName:"getFillColor",propInput:this.props.getFillColor,chunkIdx:o}),a({props:n,propName:"getLineColor",propInput:this.props.getLineColor,chunkIdx:o}),a({props:n,propName:"getLineWidth",propInput:this.props.getLineWidth,chunkIdx:o});const p=new r.ScatterplotLayer(this.getSubLayerProps(n));s.push(p)}return s}_renderLayersMultiPoint(e){const{data:s}=this.props;if(this.props._validate){const r=[e];for(const e of[this.props.getRadius,this.props.getFillColor,this.props.getLineColor,this.props.getLineWidth])e instanceof p.Vector&&r.push(e);o=e.type,t.assert(p.DataType.isList(o)),y(o.children[0].type),d(s,r),this.props.getFillColor instanceof p.Vector&&c(this.props.getFillColor),this.props.getLineColor instanceof p.Vector&&c(this.props.getLineColor)}var o;const i=[];for(let t=0;t<s.batches.length;t++){const s=e.data[t],o=s.children[0],n=s.valueOffsets,p=x(o).values,l={recordBatchIdx:t,invertedGeomOffsets:_(n),id:`${this.props.id}-geoarrow-scatterplot-${t}`,radiusUnits:this.props.radiusUnits,radiusScale:this.props.radiusScale,radiusMinPixels:this.props.radiusMinPixels,radiusMaxPixels:this.props.radiusMaxPixels,lineWidthUnits:this.props.lineWidthUnits,lineWidthScale:this.props.lineWidthScale,lineWidthMinPixels:this.props.lineWidthMinPixels,lineWidthMaxPixels:this.props.lineWidthMaxPixels,stroked:this.props.stroked,filled:this.props.filled,billboard:this.props.billboard,antialiasing:this.props.antialiasing,data:{length:o.length,attributes:{getPosition:{value:p,size:o.type.listSize}}}};a({props:l,propName:"getRadius",propInput:this.props.getRadius,chunkIdx:t,geomCoordOffsets:n}),a({props:l,propName:"getFillColor",propInput:this.props.getFillColor,chunkIdx:t,geomCoordOffsets:n}),a({props:l,propName:"getLineColor",propInput:this.props.getLineColor,chunkIdx:t,geomCoordOffsets:n}),a({props:l,propName:"getLineWidth",propInput:this.props.getLineWidth,chunkIdx:t,geomCoordOffsets:n});const h=new r.ScatterplotLayer(this.getSubLayerProps(l));i.push(h)}return i}}function U(e){const t=[];let r=0;for(let s=0;s<e.length;s++){const o=E(e,s);t.push(o),r+=o.length}const s=new Uint32Array(r);let o=0;for(const e of t)for(const t of e)s[o]=t,o+=1;return s}function E(e,t){const r=e.valueOffsets,s=P(e),o=s.valueOffsets,n=v(s),p=n.type.listSize,a=x(n),l=r[t],h=r[t+1],d=o[l],c=o[h],u=a.values.subarray(d*p,c*p),g=o[l],f=[];for(let e=l+1;e<h;e++)f.push(o[e]-g);const y=i.earcut(u,f,p);for(let e=0;e<y.length;e++)y[e]+=g;return y}const D=[0,0,0,255],V={filled:!0,extruded:!1,wireframe:!1,_normalize:!1,_windingOrder:"CCW",_full3d:!1,_validate:!0,elevationScale:{type:"number",min:0,value:1},getElevation:{type:"accessor",value:1e3},getFillColor:{type:"accessor",value:D},getLineColor:{type:"accessor",value:D},material:!0};class $ extends t.CompositeLayer{static defaultProps=V;static layerName="GeoArrowSolidPolygonLayer";getPickingInfo({info:e,sourceLayer:t}){const{data:r}=this.props;let s=e.index;t.props.invertedGeomOffsets&&(s=t.props.invertedGeomOffsets[s]);const o=t.props.recordBatchIdx,i=r.batches[o].get(s);return s+=r._offsets[o],{...e,index:s,object:i}}renderLayers(){const{data:e}=this.props,t=h(e,N.POLYGON);if(null!==t)return this._renderLayersPolygon(t);const r=h(e,N.MULTIPOLYGON);if(null!==r)return this._renderLayersMultiPolygon(r);const s=this.props.getPolygon;if(f(s))return this._renderLayersPolygon(s);if(o=s,p.DataType.isList(o.type)&&f(o.getChildAt(0)))return this._renderLayersMultiPolygon(s);var o;throw new Error("geometryColumn not Polygon or MultiPolygon")}_renderLayersPolygon(e){const{data:t}=this.props;if(this.props._validate){const r=[e];for(const e of[this.props.getElevation,this.props.getFillColor,this.props.getLineColor])e instanceof p.Vector&&r.push(e);L(e.type),d(t,r),this.props.getFillColor instanceof p.Vector&&c(this.props.getFillColor),this.props.getLineColor instanceof p.Vector&&c(this.props.getLineColor)}const s=[];for(let o=0;o<t.batches.length;o++){const t=e.data[o],i=v(P(t)),n=x(i),p=i.type.listSize,l=n.values,h=b(t),d=U(t),c={recordBatchIdx:o,id:`${this.props.id}-geoarrow-point-${o}`,filled:this.props.filled,extruded:this.props.extruded,wireframe:this.props.wireframe,_normalize:this.props._normalize,_windingOrder:this.props._windingOrder,_full3d:this.props._full3d,elevationScale:this.props.elevationScale,material:this.props.material,data:{length:t.length,startIndices:h,attributes:{getPolygon:{value:l,size:p},indices:{value:d,size:1}}}};a({props:c,propName:"getElevation",propInput:this.props.getElevation,chunkIdx:o,geomCoordOffsets:h}),a({props:c,propName:"getFillColor",propInput:this.props.getFillColor,chunkIdx:o,geomCoordOffsets:h}),a({props:c,propName:"getLineColor",propInput:this.props.getLineColor,chunkIdx:o,geomCoordOffsets:h});const u=new r.SolidPolygonLayer(this.getSubLayerProps(c));s.push(u)}return s}_renderLayersMultiPolygon(e){const{data:s}=this.props;if(this.props._validate){const r=[e];for(const e of[this.props.getElevation,this.props.getFillColor,this.props.getLineColor])e instanceof p.Vector&&r.push(e);o=e.type,t.assert(p.DataType.isList(o)),L(o.children[0].type),d(s,r),this.props.getFillColor instanceof p.Vector&&c(this.props.getFillColor),this.props.getLineColor instanceof p.Vector&&c(this.props.getLineColor)}var o;const i=[];for(let t=0;t<s.batches.length;t++){const s=e.data[t],o=C(s),n=v(P(o)),p=x(n),l=n.type.listSize,h=s.valueOffsets,d=p.values,c=U(o),u=b(o),g=S(s),f={recordBatchIdx:t,invertedGeomOffsets:_(h),id:`${this.props.id}-geoarrow-point-${t}`,filled:this.props.filled,extruded:this.props.extruded,wireframe:this.props.wireframe,_normalize:this.props._normalize,_windingOrder:this.props._windingOrder,_full3d:this.props._full3d,elevationScale:this.props.elevationScale,material:this.props.material,data:{length:o.length,startIndices:u,attributes:{getPolygon:{value:d,size:l},indices:{value:c,size:1}}}};a({props:f,propName:"getElevation",propInput:this.props.getElevation,chunkIdx:t,geomCoordOffsets:g}),a({props:f,propName:"getFillColor",propInput:this.props.getFillColor,chunkIdx:t,geomCoordOffsets:g}),a({props:f,propName:"getLineColor",propInput:this.props.getLineColor,chunkIdx:t,geomCoordOffsets:g});const y=new r.SolidPolygonLayer(this.getSubLayerProps(f));i.push(y)}return i}}e.GeoArrowArcLayer=M,e.GeoArrowHeatmapLayer=z,e.GeoArrowPathLayer=A,e.GeoArrowScatterplotLayer=R,e.GeoArrowSolidPolygonLayer=$}));
//# sourceMappingURL=dist.umd.js.map

@@ -0,8 +1,10 @@

export { GeoArrowArcLayer } from "./arc-layer.js";
export { GeoArrowHeatmapLayer } from "./heatmap-layer.js";
export { GeoArrowPathLayer } from "./path-layer.js";
export { GeoArrowScatterplotLayer } from "./scatterplot-layer.js";
export { GeoArrowSolidPolygonLayer } from "./solid-polygon-layer.js";
export { GeoArrowArcLayer } from "./arc-layer.js";
export type { GeoArrowArcLayerProps } from "./arc-layer.js";
export type { GeoArrowHeatmapLayerProps } from "./heatmap-layer.js";
export type { GeoArrowPathLayerProps } from "./path-layer.js";
export type { GeoArrowScatterplotLayerProps } from "./scatterplot-layer.js";
export type { GeoArrowSolidPolygonLayerProps } from "./solid-polygon-layer.js";
export type { GeoArrowArcLayerProps } from "./arc-layer.js";

@@ -0,4 +1,5 @@

export { GeoArrowArcLayer } from "./arc-layer.js";
export { GeoArrowHeatmapLayer } from "./heatmap-layer.js";
export { GeoArrowPathLayer } from "./path-layer.js";
export { GeoArrowScatterplotLayer } from "./scatterplot-layer.js";
export { GeoArrowSolidPolygonLayer } from "./solid-polygon-layer.js";
export { GeoArrowArcLayer } from "./arc-layer.js";

@@ -7,3 +7,3 @@ {

"name": "@geoarrow/deck.gl-layers",
"version": "0.3.0-beta.1",
"version": "0.3.0-beta.2",
"type": "module",

@@ -41,2 +41,3 @@ "description": "",

"peerDependencies": {
"@deck.gl/aggregation-layers": "^8.9.23",
"@deck.gl/core": "^8.9.23",

@@ -48,2 +49,3 @@ "@deck.gl/layers": "^8.9.23",

"devDependencies": {
"@deck.gl/aggregation-layers": "^8.9.23",
"@deck.gl/core": "^8.9.23",

@@ -50,0 +52,0 @@ "@deck.gl/layers": "^8.9.23",

@@ -0,9 +1,11 @@

export { GeoArrowArcLayer } from "./arc-layer.js";
export { GeoArrowHeatmapLayer } from "./heatmap-layer.js";
export { GeoArrowPathLayer } from "./path-layer.js";
export { GeoArrowScatterplotLayer } from "./scatterplot-layer.js";
export { GeoArrowSolidPolygonLayer } from "./solid-polygon-layer.js";
export { GeoArrowArcLayer } from "./arc-layer.js";
export type { GeoArrowArcLayerProps } from "./arc-layer.js";
export type { GeoArrowHeatmapLayerProps } from "./heatmap-layer.js";
export type { GeoArrowPathLayerProps } from "./path-layer.js";
export type { GeoArrowScatterplotLayerProps } from "./scatterplot-layer.js";
export type { GeoArrowSolidPolygonLayerProps } from "./solid-polygon-layer.js";
export type { GeoArrowArcLayerProps } from "./arc-layer.js";

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc