Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 60e4285

Browse files
committed
pass layer 'color' to mapbox layer paint
1 parent 51fa1ea commit 60e4285

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plots/mapbox/layers.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ function convertOpts(opts) {
182182
});
183183

184184
Lib.extendFlat(paint, {
185+
'icon-color': opts.color,
185186
'text-color': symbol.textfont.color,
186187
'text-opacity': opts.opacity
187188
});

0 commit comments

Comments
 (0)