
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
@deck.gl-community/widgets
Advanced tools
:::danger The deck.gl-community repo is specifically set up to collect useful code that no longer has dedicated maintainers. This means that there is often no one who can respond quickly to issues. The vis.gl / Open Visualization team members who try to keep this running can only put a few hours into it every now and then. It is important to understand this limitation. If your project depends on timely fixes, and you are not able to contribute them yourself, deck.gl-community modules may not be the right choice for you. :::
This module packages UI widgets that integrate with deck.gl view state management. It currently includes the PanWidget and ZoomRangeWidget that were previously available under @deck.gl-community/experimental.
npm install @deck.gl-community/widgets
import DeckGL from '@deck.gl/react';
import {OrthographicView} from '@deck.gl/core';
import {PanWidget, ZoomRangeWidget} from '@deck.gl-community/widgets';
const widgets = [
new PanWidget({placement: 'top-left', style: {margin: '16px'}}),
new ZoomRangeWidget({placement: 'top-left', style: {margin: '96px 0 0 16px'}})
];
function App() {
return (
<DeckGL
views={new OrthographicView({id: 'ortho'})}
initialViewState={{target: [0, 0], zoom: 0}}
controller={true}
widgets={widgets}
layers={[/* ... */]}
/>
);
}
See the Pan and Zoom widgets example for a non-geospatial walkthrough.
FAQs
UI widgets for deck.gl
We found that @deck.gl-community/widgets demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.