visgl / visgl/deck.gl

[Doc] How to import DeckGL from core?

Open
#7,352 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

doc
Dominant language
TypeScript
Stars
14.6k
Forks
2.3k
Avg merge
2d 9h
Merged PRs (30d)
42

Description

Link

https://deck.gl/docs/get-started/using-standalone

Description

It is unclear how to get access to the DeckGL function from core. I have tried multiple approaches:

import deck from '@deck.gl/core';

new deck.DeckGL(...); // fails because core does not have a default export

I don't want to use react, just the deck.DeckGL constructor to leverage mapbox integration.

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked standalone usage page and the @deck.gl/core import shown in the issue. Verify the documented way to access DeckGL without React, then update the page with a working constructor example and confirm the example matches the package's exports.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.