Skip to content

Commit

Permalink
Update Cartography.js
Browse files Browse the repository at this point in the history
Fixing issue Inist-CNRS#2195 for a correct display of departments in the tool-tip of a French map (no more need to fill in the "category" input field in the graphical interface).
  • Loading branch information
yannguillemin authored Dec 12, 2024
1 parent d25b054 commit 717d6df
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/js/formats/vega-lite/models/Cartography.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ class Cartography extends BasicChart {
this.tooltip.value,
];
} else {
this.tooltip.category.field = 'properties.NAME_0';
this.model.encoding.tooltip = [
this.tooltip.category,
{
field: 'properties.NAME_1',
type: 'nominal',
Expand Down

0 comments on commit 717d6df

Please sign in to comment.