From 5aa5607f2432ea2f32c8ca6ed5b1b1ce206a24ad Mon Sep 17 00:00:00 2001 From: kimjh2369 Date: Mon, 8 Jul 2024 10:42:58 +0900 Subject: [PATCH] =?UTF-8?q?map=20font,=20=EA=B1=B4=EB=AC=BC=20=EC=83=89?= =?UTF-8?q?=EC=83=81,=20=EA=B1=B4=EB=AC=BC=20=ED=88=AC=EB=AA=85=EB=8F=84?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/map/mapbox/MapBoxMap.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/components/map/mapbox/MapBoxMap.js b/src/components/map/mapbox/MapBoxMap.js index de01a081..98791e93 100644 --- a/src/components/map/mapbox/MapBoxMap.js +++ b/src/components/map/mapbox/MapBoxMap.js @@ -303,7 +303,8 @@ export default function MapBoxMap() { center: [127.85101412107547, 37.520357], // starting position [lng, lat] zoom: 8.5, // starting zoom antialias: true, - attributionControl: false + attributionControl: false, + localIdeographFontFamily: 'NotoSansKR' }); const language = new MapboxLanguage(); map.addControl(language); @@ -404,7 +405,7 @@ export default function MapBoxMap() { type: 'fill-extrusion', minzoom: 15, paint: { - 'fill-extrusion-color': '#aaa', + 'fill-extrusion-color': '#fff', // Use an 'interpolate' expression to // add a smooth transition effect to @@ -427,7 +428,7 @@ export default function MapBoxMap() { 15.05, ['get', 'min_height'] ], - 'fill-extrusion-opacity': 0.6 + 'fill-extrusion-opacity': 0.3 } }, labelLayerId