Skip to content

Commit 34d5275

Browse files
committed
rm textfont.family settting (for now),
- it can lead to error in the case where mapbox doesn't have to requested font.
1 parent a899283 commit 34d5275

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/traces/scattermapbox/convert.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,12 @@ module.exports = function convert(calcTrace) {
111111
var textOpts = calcTextOpts(trace);
112112

113113
Lib.extendFlat(symbol.layout, {
114-
'text-font': trace.textfont.textfont,
115114
'text-size': trace.textfont.size,
116115
'text-anchor': textOpts.anchor,
117116
'text-offset': textOpts.offset
117+
118+
// TODO font family
119+
//'text-font': symbol.textfont.family.split(', '),
118120
});
119121

120122
Lib.extendFlat(symbol.paint, {

0 commit comments

Comments
 (0)