aboutsummaryrefslogtreecommitdiff
path: root/modern/src/map/main/PoiMap.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/map/main/PoiMap.js')
-rw-r--r--modern/src/map/main/PoiMap.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/map/main/PoiMap.js b/modern/src/map/main/PoiMap.js
index e3364ec2..6215b45e 100644
--- a/modern/src/map/main/PoiMap.js
+++ b/modern/src/map/main/PoiMap.js
@@ -5,6 +5,7 @@ import { useTheme } from '@mui/styles';
import { map } from '../core/MapView';
import { useEffectAsync } from '../../reactHelper';
import { usePreference } from '../../common/util/preferences';
+import { findFonts } from '../core/mapUtil';
const PoiMap = () => {
const id = 'poi';
@@ -55,7 +56,7 @@ const PoiMap = () => {
'text-field': '{name}',
'text-anchor': 'bottom',
'text-offset': [0, -0.5],
- 'text-font': ['Roboto Regular'],
+ 'text-font': findFonts(map),
'text-size': 12,
},
paint: {