We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82fbdcd commit e240ce6Copy full SHA for e240ce6
src/plots/mapbox/layers.js
@@ -73,7 +73,7 @@ proto.needsNewSource = function(opts) {
73
// stay safe and make new source on type changes
74
return (
75
this.sourceType !== opts.sourcetype ||
76
- this.source !== opts.source ||
+ JSON.stringify(this.source) !== JSON.stringify(opts.source) ||
77
this.layerType !== opts.type
78
);
79
};
0 commit comments