Skip to content

Commit

Permalink
[fix] Icon Layer - Labels are visible even if layer is hidden (#2102)
Browse files Browse the repository at this point in the history
  • Loading branch information
igorDykhta committed Jan 24, 2023
1 parent 47cc281 commit 92bae8e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/layers/src/base-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1329,6 +1329,7 @@ class Layer {
...sharedProps,
id: `${this.id}-label-${textLabel[i].field?.name}`,
data: data.data,
visible: this.config.isVisible,
getText: d.getText,
getPosition,
characterSet: d.characterSet,
Expand Down

0 comments on commit 92bae8e

Please sign in to comment.