|
|
@ -303,7 +303,8 @@ export default function MapBoxMap() { |
|
|
|
center: [127.85101412107547, 37.520357], // starting position [lng, lat]
|
|
|
|
center: [127.85101412107547, 37.520357], // starting position [lng, lat]
|
|
|
|
zoom: 8.5, // starting zoom
|
|
|
|
zoom: 8.5, // starting zoom
|
|
|
|
antialias: true, |
|
|
|
antialias: true, |
|
|
|
attributionControl: false |
|
|
|
attributionControl: false, |
|
|
|
|
|
|
|
localIdeographFontFamily: 'NotoSansKR' |
|
|
|
}); |
|
|
|
}); |
|
|
|
const language = new MapboxLanguage(); |
|
|
|
const language = new MapboxLanguage(); |
|
|
|
map.addControl(language); |
|
|
|
map.addControl(language); |
|
|
@ -404,7 +405,7 @@ export default function MapBoxMap() { |
|
|
|
type: 'fill-extrusion', |
|
|
|
type: 'fill-extrusion', |
|
|
|
minzoom: 15, |
|
|
|
minzoom: 15, |
|
|
|
paint: { |
|
|
|
paint: { |
|
|
|
'fill-extrusion-color': '#aaa', |
|
|
|
'fill-extrusion-color': '#fff', |
|
|
|
|
|
|
|
|
|
|
|
// Use an 'interpolate' expression to
|
|
|
|
// Use an 'interpolate' expression to
|
|
|
|
// add a smooth transition effect to
|
|
|
|
// add a smooth transition effect to
|
|
|
@ -427,7 +428,7 @@ export default function MapBoxMap() { |
|
|
|
15.05, |
|
|
|
15.05, |
|
|
|
['get', 'min_height'] |
|
|
|
['get', 'min_height'] |
|
|
|
], |
|
|
|
], |
|
|
|
'fill-extrusion-opacity': 0.6 |
|
|
|
'fill-extrusion-opacity': 0.3 |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
labelLayerId |
|
|
|
labelLayerId |
|
|
|