https://github.com/lmcinnes/lod_text_layer
A deck.gl composite layer providing level of detail text support
https://github.com/lmcinnes/lod_text_layer
Last synced: 7 months ago
JSON representation
A deck.gl composite layer providing level of detail text support
- Host: GitHub
- URL: https://github.com/lmcinnes/lod_text_layer
- Owner: lmcinnes
- License: mit
- Created: 2022-03-09T20:29:46.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-03-15T16:28:27.000Z (over 3 years ago)
- Last Synced: 2025-02-01T04:23:46.585Z (8 months ago)
- Language: JavaScript
- Size: 299 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Level of Detail layer for pydeck
================================This repo is a work in progress to provide a custom deck.gl layer for use in pydeck that allows for a
text layer that resolves varying levels of detail on zooming.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/lod_text_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).