Skip to content

Instantly share code, notes, and snippets.

@Pessimistress
Created April 12, 2018 06:20
Show Gist options
  • Save Pessimistress/1154068c8514f34cdf3e368488403e10 to your computer and use it in GitHub Desktop.
Save Pessimistress/1154068c8514f34cdf3e368488403e10 to your computer and use it in GitHub Desktop.
const deckgl = new deck.DeckGL({
views: [
new deck.OrbitView() // Viewport type
],
viewState: {
distance: 10,
rotationX: 45,
rotationOrbit: 30,
zoom: 1
}, // Initial camera state
layers: [
new deck.ScatterplotLayer({
// Make sure that your layers use a non-geospatial coordinate system:
coordinateSystem: deck.COORDINATE_SYSTEM.IDENTITY
//...
})
]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment