Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
A suite of 3D-enabled data visualization overlays, suitable for react-map-gl
Provides tested, highly performant layers for data visualization use cases, such as scatterplots, choropleths etc in 2 and 3 dimensions.
npm install --save deck.gl
import DeckGL from 'deck.gl';
import {ArcLayer} from 'deck.gl';
const flights = new ArcLayer({
id: 'flights',
data: [] // Some flight points
});
<DeckGL width={1920} height={1080} layers={[flights]} />
A very simple usage of deck.gl is showcased in the hello-world examples, using both webpack2 and browserify, so you can choose which setup you prefer or are more familiar with.
You can also take a look at the docs website or browse directly the docs folder.
npm install # or yarn
npm test
npm start # See note below
Note that you will also need to do an npm install in the main example (examples/layer-browser
)
since the npm start command tries to build and run that example.
cd examples/layer-browser
npm install
cd ../..
Note that npm start
in the main directory actually runs examples/main
.
You will need to install dependencies in that example first:
cd examples/main
npm install # or yarn
cd ../..
npm start
Building deck.gl from source has a dependency on node 4.0
or higher.
Either upgrade to a newest version, or install something like
nvm.
On macOS deck.gl uses yarn to manage packages. To develop deck.gl, install yarn with brew
brew update
brew install yarn
PRs and bug reports are welcome. Note that you once your PR is about to be merged, you will be asked to register as a contributor by filling in a short form.
[v4.0.0-rc.4]
GridCellLayer
latOffset
and lonOffset
=> cellSize
onHover
and onClick
props now work on GridLayer
and HexagonLayer
GeoJsonLayer
and PolygonLayer
now have layer
property point to the
composite layer instead of a sublayerPointCloudLayer
use radiusPixels
instead of radius
FAQs
A suite of 3D-enabled data visualization overlays, suitable for react-map-gl
The npm package deck.gl receives a total of 47,212 weekly downloads. As such, deck.gl popularity was classified as popular.
We found that deck.gl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.