Skip to content

Commit

Permalink
hover highlight switch added
Browse files Browse the repository at this point in the history
  • Loading branch information
Horváth László Gábor committed Apr 11, 2023
1 parent 7b8e623 commit 53b0c44
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,14 @@ export class ChoroplethSettings {
delete properties.legendPosition
}

if (!properties.hoverHighlight) {
delete properties.hoverHighlightColor
delete properties.hoverHighlightOpacity
delete properties.hoverHighlightOutlineColor
delete properties.hoverHighlightOutlineOpacity
delete properties.hoverHighlightOutlineWidth
}

return { instances };
}

Expand Down

0 comments on commit 53b0c44

Please sign in to comment.