Skip to content

Commit

Permalink
feat: display region name in the ipc tooltip (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschonti authored Jan 29, 2025
1 parent fb64e06 commit 196fd4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/operations/map/IpcChoroplethOperations.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,8 @@ export class IpcChoroplethOperations {

root.render(
<div className="p-3 bg-background text-foreground rounded-medium z-50">
<h1 className="text-sm font-semibold">{IpcChoroplethOperations.getPhaseText(feature?.properties?.ipcPhase)}</h1>
<h1 className="text-sm font-semibold">{feature?.properties?.areaName}</h1>
<h2 className="text-sm">{IpcChoroplethOperations.getPhaseText(feature?.properties?.ipcPhase)}</h2>
</div>
);

Expand Down

0 comments on commit 196fd4f

Please sign in to comment.