Skip to content

Commit

Permalink
Merge pull request #900 from plotly/mapbox-visible-false
Browse files Browse the repository at this point in the history
Fix mapbox visible false first draw
  • Loading branch information
etpinard committed Sep 8, 2016
1 parent a6f8343 commit 91f03b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plots/mapbox/mapbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ proto.updateData = function(calcData) {
traceObj = traceHash[trace.uid];

if(traceObj) traceObj.update(calcTrace);
else {
else if(trace._module) {
traceHash[trace.uid] = trace._module.plot(this, calcTrace);
}
}
Expand Down

0 comments on commit 91f03b7

Please sign in to comment.