Skip to content

Commit df95751

Browse files
authored
fix: Ensure separate layer ids (#163)
1 parent 664415d commit df95751

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

packages/deck.gl-layers/src/layers/h3-hexagon-layer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export class GeoArrowH3HexagonLayer<
130130
...ourDefaultProps,
131131
...otherProps,
132132

133-
id: `${this.props.id}-geoarrow-arc`,
133+
id: `${this.props.id}-geoarrow-h3`,
134134

135135
data: {
136136
// @ts-expect-error passed through to enable use by function accessors

packages/deck.gl-layers/src/layers/path-layer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export class GeoArrowPathLayer<
178178
...ourDefaultProps,
179179
...otherProps,
180180

181-
id: `${this.props.id}-geoarrow-path`,
181+
id: `${this.props.id}-geoarrow-path-linestring`,
182182
data: {
183183
// @ts-expect-error passed through to enable use by function accessors
184184
data: batch,
@@ -240,7 +240,7 @@ export class GeoArrowPathLayer<
240240
...ourDefaultProps,
241241
...otherProps,
242242

243-
id: `${this.props.id}-geoarrow-path`,
243+
id: `${this.props.id}-geoarrow-path-multilinestring`,
244244
data: {
245245
// @ts-expect-error passed through to enable use by function accessors
246246
data: batch,

packages/deck.gl-layers/src/layers/scatterplot-layer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ export class GeoArrowScatterplotLayer<
169169
...ourDefaultProps,
170170
...otherProps,
171171

172-
id: `${this.props.id}-geoarrow-scatterplot`,
172+
id: `${this.props.id}-geoarrow-scatterplot-point`,
173173
data: {
174174
// @ts-expect-error passed through to enable use by function accessors
175175
data: batch,
@@ -225,7 +225,7 @@ export class GeoArrowScatterplotLayer<
225225
...ourDefaultProps,
226226
...otherProps,
227227

228-
id: `${this.props.id}-geoarrow-scatterplot`,
228+
id: `${this.props.id}-geoarrow-scatterplot-multipoint`,
229229
data: {
230230
// @ts-expect-error passed through to enable use by function accessors
231231
data: batch,

packages/deck.gl-layers/src/layers/solid-polygon-layer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ export class GeoArrowSolidPolygonLayer<
496496
...ourDefaultProps,
497497
...otherProps,
498498

499-
id: `${this.props.id}-geoarrow-point`,
499+
id: `${this.props.id}-geoarrow-solid-polygon`,
500500
data: {
501501
// @ts-expect-error passed through to enable use by function accessors
502502
data: batch,

packages/deck.gl-layers/src/layers/text-layer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export class GeoArrowTextLayer<
210210
...ourDefaultProps,
211211
...otherProps,
212212

213-
id: `${this.props.id}-geoarrow-heatmap`,
213+
id: `${this.props.id}-geoarrow-text`,
214214
data: {
215215
// @ts-expect-error passed through to enable use by function accessors
216216
data: batch,

0 commit comments

Comments
 (0)