fix(superset-ui-legacy-preset-chart-deckgl): fix download map as image (#25)

* fix(superset-ui-legacy-preset-chart-deckgl): fix download map as image

* fix(superset-ui-legacy-preset-chart-deckgl): lint fix
This commit is contained in:
Kamil Gabryjelski 2021-02-20 09:13:45 +01:00 committed by Yongjie Zhao
parent e105a37cd2
commit 18d0c48333
1 changed files with 2 additions and 0 deletions

View File

@ -113,9 +113,11 @@ class DeckGLContainer extends React.Component {
height={adjustedHeight}
layers={layers}
viewState={viewState}
glOptions={{ preserveDrawingBuffer: true }}
onViewStateChange={this.onViewStateChange}
>
<StaticMap
preserveDrawingBuffer
mapStyle={this.props.mapStyle}
mapboxApiAccessToken={this.props.mapboxApiAccessToken}
/>