mirror of
https://github.com/DOI-DO/j40-cejst-2.git
synced 2025-08-04 05:04:33 -07:00
Add tooltip to territory buttons (#1220)
This commit is contained in:
parent
722c738a5b
commit
fadc875934
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ const TerritoryFocusControl = ({onClick}: ITerritoryFocusControl) => {
|
||||||
// onClickCapture={(e) => onClickTerritoryFocusButton(e)}
|
// onClickCapture={(e) => onClickTerritoryFocusButton(e)}
|
||||||
onClickCapture={(e) => onClick(e)}
|
onClickCapture={(e) => onClick(e)}
|
||||||
className={'mapboxgl-ctrl-icon ' + territoriesIconClassName[index]}
|
className={'mapboxgl-ctrl-icon ' + territoriesIconClassName[index]}
|
||||||
|
title={territories[index].long}
|
||||||
aria-label={intl.formatMessage(
|
aria-label={intl.formatMessage(
|
||||||
{
|
{
|
||||||
id: 'map.territoryFocus.focusOn',
|
id: 'map.territoryFocus.focusOn',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue