Skip to content

Instantly share code, notes, and snippets.

@ibgreen
Created May 11, 2018 01:01
Show Gist options
  • Save ibgreen/4225e90f8f0cbc02bcd6ad1cdb06cf29 to your computer and use it in GitHub Desktop.
Save ibgreen/4225e90f8f0cbc02bcd6ad1cdb06cf29 to your computer and use it in GitHub Desktop.
deck.gl auto resize
const deck = new Deck({width: '100%', height: '100%, ...'})
// or, if using react
<DeckGL width="100%" height="100%" .../>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment