Overview
This module provides a suite of geospatial layers for deck.gl.
caution
The deck.gl-community repository is semi-maintaned. One of its goals is to collect and preserve valuable deck.gl ecosystem related code that does not have a dedicated home. Some modules may no longer have dedicated maintainers. This means that there is sometimes no one who can respond quickly to issues.
Installation
npm install @deck.gl-community/geo-layers
Background
This modules exports various geospatial deck.gl layers developed by the community that could be of use to others.
API Reference
- WindLayer renders Delaunay-interpolated, speed-colored wind arrows.
- ParticleLayer animates fading trails through a geographic wind field.
- ElevationLayer turns the original grayscale elevation map into illuminated, vertically exaggerated 3D terrain.
- DelaunayCoverLayer renders the elevation-colored station triangulation.
- DelaunayInterpolation samples or rasterizes time-varying station measurements without WebGL-only transforms.
- SharedTile2DLayer
- SharedTileset2D
- TileGridLayer
- TileSourceLayer
- GlobalGridLayer
- GlobalGrid
Examples
- Wind Map recreates Nicolas Belmonte's original deck.gl wind showcase using its original 72-hour station forecast and imported, reusable geo-layers.
- SharedTile2DLayer example demonstrates one shared loaders.gl
TileSourcefeeding multipleSharedTile2DLayers across multiple views. It also shows sharedSharedTileset2Dcache stats rendered throughSharedTileset2D.statsand usesTileGridLayerto visualize tile loading.