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

Skip to content

Commit 91a5f32

Browse files
committed
[fixup] make static go through non-interactive map creations
1 parent fd3bff4 commit 91a5f32

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plots/mapbox/mapbox.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ proto.createMap = function(fullData, fullLayout, resolve) {
8484
bearing: opts.bearing,
8585
pitch: opts.pitch,
8686

87+
interactive: !self.isStatic,
8788
preserveDrawingBuffer: self.isStatic
8889
});
8990

0 commit comments

Comments
 (0)