Skip to content

Commit

Permalink
Merge pull request #2613 from GlobalFishingWatch/deck-migration/small…
Browse files Browse the repository at this point in the history
…-stuff

Deck-migration/small-stuff
  • Loading branch information
j8seangel authored Apr 12, 2024
2 parents 4bf0a19 + b499a72 commit 7012025
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion libs/deck-layers/src/layers/cluster/ClusterLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export class ClusterLayer extends CompositeLayer<LayerProps & TileLayerProps & C
id:
info.object?.properties.event_id ||
`${(info.object?.geometry?.coordinates || []).join('-')}`,
layerId: this.props.id,
layerId: this.root.id,
category: this.props.category,
}
return { ...info, object }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class FourwingsHeatmapLayer extends CompositeLayer<FourwingsHeatmapLayerP
})
const object: FourwingsPickingObject = {
...(info.object || ({} as FourwingsFeature)),
layerId: this.props.id,
layerId: this.root.id,
id: id,
title: id, // TODO:deck get the proper title
tile: tile.index,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class FourwingsHeatmapStaticLayer extends CompositeLayer<
if (info.object?.properties?.count) {
info.object.properties.values = [[info.object.properties.count]]
}
info.object.layerId = this.props.id
info.object.layerId = this.root.id
info.object.category = this.props.category
return info
}
Expand Down
2 changes: 1 addition & 1 deletion libs/deck-layers/src/layers/vessel/VesselLayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class VesselLayer extends CompositeLayer<VesselLayerProps & LayerProps> {
}): VesselEventPickingInfo => {
const object = {
...(info.object || ({} as VesselEventProperties)),
layerId: this.props.id,
layerId: this.root.id,
title: this.props.name,
vesselId: this.props.id,
category: DataviewCategory.Vessels,
Expand Down

0 comments on commit 7012025

Please sign in to comment.