feat: 添加字体pbf文件

This commit is contained in:
zhangyu
2022-08-19 14:04:26 +08:00
parent b6bc54b50c
commit abb9591c8a
1294 changed files with 3707 additions and 15 deletions

View File

@@ -55,6 +55,16 @@ export default {
}
},
mounted () {
const arr = []
mapStyle.layers.forEach(item => {
if (item.layout['text-font']) {
const font = item.layout['text-font'].join(',')
if (arr.indexOf(font) === -1) {
arr.push(font)
}
}
})
console.log(arr)
},
methods: {
initMap () {