Skip to content

Commit

Permalink
Correctly forward props (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron authored Oct 20, 2023
1 parent b59c95f commit 33a9c26
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/path-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ export class GeoArrowPathLayer<
geomCoordOffsets: geomOffsets,
});

const layer = new PathLayer(props);
const layer = new PathLayer(this.getSubLayerProps(props));
layers.push(layer);
}

Expand Down Expand Up @@ -328,7 +328,7 @@ export class GeoArrowPathLayer<
geomCoordOffsets: resolvedRingOffsets,
});

const layer = new PathLayer(props);
const layer = new PathLayer(this.getSubLayerProps(props));
layers.push(layer);
}

Expand Down
4 changes: 2 additions & 2 deletions src/scatterplot-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export class GeoArrowScatterplotLayer<
chunkIdx: recordBatchIdx,
});

const layer = new ScatterplotLayer(props);
const layer = new ScatterplotLayer(this.getSubLayerProps(props));
layers.push(layer);
}

Expand Down Expand Up @@ -389,7 +389,7 @@ export class GeoArrowScatterplotLayer<
geomCoordOffsets: geomOffsets,
});

const layer = new ScatterplotLayer(props);
const layer = new ScatterplotLayer(this.getSubLayerProps(props));
layers.push(layer);
}

Expand Down
4 changes: 2 additions & 2 deletions src/solid-polygon-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ export class GeoArrowSolidPolygonLayer<
geomCoordOffsets: resolvedRingOffsets,
});

const layer = new SolidPolygonLayer(props);
const layer = new SolidPolygonLayer(this.getSubLayerProps(props));
layers.push(layer);
}

Expand Down Expand Up @@ -363,7 +363,7 @@ export class GeoArrowSolidPolygonLayer<
geomCoordOffsets: resolvedRingOffsets,
});

const layer = new SolidPolygonLayer(props);
const layer = new SolidPolygonLayer(this.getSubLayerProps(props));
layers.push(layer);
}

Expand Down

0 comments on commit 33a9c26

Please sign in to comment.