项目中遇到的一些问题,记录一下
1、Error {message: 'Unimplemented type: 4'}
问题:Error {message: 'Unimplemented type: 4'}
原因:无法加载文字标注,字体没有引入进来
2、本地化时:
- 当layer 使用了 background-pattern、fill-pattern、line-pattern、fill-extrusion-pattern、icon-image 等属性时,sprite 必填
- 当有 layer 使用了 text-field 属性时,glyphs 必填
博客记录了项目中遇到的问题。一是出现 'Error {message: 'Unimplemented type: 4'}' 错误,原因是无法加载文字标注,字体未引入;二是本地化时,layer 使用特定属性时,sprite 或 glyphs 有必填要求。
4818

被折叠的 条评论
为什么被折叠?



