Skip to content

Commit

Permalink
fix(superset-ui-legacy-preset-chart-deckgl): fix download map as image (
Browse files Browse the repository at this point in the history
#25)

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

* fix(superset-ui-legacy-preset-chart-deckgl): lint fix
  • Loading branch information
kgabryje authored and zhaoyongjie committed Nov 30, 2021
1 parent e105a37 commit 18d0c48
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}
/>
Expand Down

0 comments on commit 18d0c48

Please sign in to comment.