Skip to content

Commit 91f03b7

Browse files
committed
Merge pull request #900 from plotly/mapbox-visible-false
Fix mapbox visible false first draw
1 parent a6f8343 commit 91f03b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/mapbox/mapbox.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ proto.updateData = function(calcData) {
222222
traceObj = traceHash[trace.uid];
223223

224224
if(traceObj) traceObj.update(calcTrace);
225-
else {
225+
else if(trace._module) {
226226
traceHash[trace.uid] = trace._module.plot(this, calcTrace);
227227
}
228228
}

0 commit comments

Comments
 (0)