Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ajduberstein/pydeck_custom_layer
Example of a pydeck custom layer
https://github.com/ajduberstein/pydeck_custom_layer
pydeck
Last synced: 10 days ago
JSON representation
Example of a pydeck custom layer
- Host: GitHub
- URL: https://github.com/ajduberstein/pydeck_custom_layer
- Owner: ajduberstein
- License: mit
- Created: 2020-02-04T23:44:42.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T16:27:21.000Z (almost 2 years ago)
- Last Synced: 2024-10-13T14:16:53.548Z (25 days ago)
- Topics: pydeck
- Language: JavaScript
- Homepage:
- Size: 1.83 MB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Custom layers for pydeck
========================This repo is an example of how to create a custom deck.gl layer for use in pydeck.
To get started with this example repo, install the dependencies:
```bash
yarn
python3 -m venv env
. env/bin/activate
pip install -r pydeck_example/requirements.txt
```Then execute the following to a pydeck script and serve the JavaScript bundle:
```bash
python pydeck_example/labeled_geojson_layer.py
webpack serve --progress
```Navigate to http://localhost:8080/custom_layer.html in your browser, which should render the visualization.
You can deploy your project to NPM and host the your bundle on unpkg, which you can see in the
[custom layer example in the pydeck docs](https://pydeck.gl/gallery/custom_layer.html).