From eebf7b338292348fe4bc58eeee17f3e3136956f0 Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Mon, 20 Oct 2025 11:44:09 -0400 Subject: [PATCH] fix: Ensure separate layer ids --- packages/deck.gl-layers/src/layers/h3-hexagon-layer.ts | 2 +- packages/deck.gl-layers/src/layers/path-layer.ts | 4 ++-- packages/deck.gl-layers/src/layers/scatterplot-layer.ts | 4 ++-- packages/deck.gl-layers/src/layers/solid-polygon-layer.ts | 2 +- packages/deck.gl-layers/src/layers/text-layer.ts | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/packages/deck.gl-layers/src/layers/h3-hexagon-layer.ts b/packages/deck.gl-layers/src/layers/h3-hexagon-layer.ts index 340dd29..15c90e8 100644 --- a/packages/deck.gl-layers/src/layers/h3-hexagon-layer.ts +++ b/packages/deck.gl-layers/src/layers/h3-hexagon-layer.ts @@ -130,7 +130,7 @@ export class GeoArrowH3HexagonLayer< ...ourDefaultProps, ...otherProps, - id: `${this.props.id}-geoarrow-arc`, + id: `${this.props.id}-geoarrow-h3`, data: { // @ts-expect-error passed through to enable use by function accessors diff --git a/packages/deck.gl-layers/src/layers/path-layer.ts b/packages/deck.gl-layers/src/layers/path-layer.ts index e07a547..8972937 100644 --- a/packages/deck.gl-layers/src/layers/path-layer.ts +++ b/packages/deck.gl-layers/src/layers/path-layer.ts @@ -178,7 +178,7 @@ export class GeoArrowPathLayer< ...ourDefaultProps, ...otherProps, - id: `${this.props.id}-geoarrow-path`, + id: `${this.props.id}-geoarrow-path-linestring`, data: { // @ts-expect-error passed through to enable use by function accessors data: batch, @@ -240,7 +240,7 @@ export class GeoArrowPathLayer< ...ourDefaultProps, ...otherProps, - id: `${this.props.id}-geoarrow-path`, + id: `${this.props.id}-geoarrow-path-multilinestring`, data: { // @ts-expect-error passed through to enable use by function accessors data: batch, diff --git a/packages/deck.gl-layers/src/layers/scatterplot-layer.ts b/packages/deck.gl-layers/src/layers/scatterplot-layer.ts index 5caa542..7ff7523 100644 --- a/packages/deck.gl-layers/src/layers/scatterplot-layer.ts +++ b/packages/deck.gl-layers/src/layers/scatterplot-layer.ts @@ -169,7 +169,7 @@ export class GeoArrowScatterplotLayer< ...ourDefaultProps, ...otherProps, - id: `${this.props.id}-geoarrow-scatterplot`, + id: `${this.props.id}-geoarrow-scatterplot-point`, data: { // @ts-expect-error passed through to enable use by function accessors data: batch, @@ -225,7 +225,7 @@ export class GeoArrowScatterplotLayer< ...ourDefaultProps, ...otherProps, - id: `${this.props.id}-geoarrow-scatterplot`, + id: `${this.props.id}-geoarrow-scatterplot-multipoint`, data: { // @ts-expect-error passed through to enable use by function accessors data: batch, diff --git a/packages/deck.gl-layers/src/layers/solid-polygon-layer.ts b/packages/deck.gl-layers/src/layers/solid-polygon-layer.ts index 845433e..dd0dd19 100644 --- a/packages/deck.gl-layers/src/layers/solid-polygon-layer.ts +++ b/packages/deck.gl-layers/src/layers/solid-polygon-layer.ts @@ -496,7 +496,7 @@ export class GeoArrowSolidPolygonLayer< ...ourDefaultProps, ...otherProps, - id: `${this.props.id}-geoarrow-point`, + id: `${this.props.id}-geoarrow-solid-polygon`, data: { // @ts-expect-error passed through to enable use by function accessors data: batch, diff --git a/packages/deck.gl-layers/src/layers/text-layer.ts b/packages/deck.gl-layers/src/layers/text-layer.ts index 5e41d3c..9b6b3bf 100644 --- a/packages/deck.gl-layers/src/layers/text-layer.ts +++ b/packages/deck.gl-layers/src/layers/text-layer.ts @@ -210,7 +210,7 @@ export class GeoArrowTextLayer< ...ourDefaultProps, ...otherProps, - id: `${this.props.id}-geoarrow-heatmap`, + id: `${this.props.id}-geoarrow-text`, data: { // @ts-expect-error passed through to enable use by function accessors data: batch,