This is a standalone version of the TextLayer example on deck.gl website.
Copy the content of this folder to your project.
# install dependencies
npm install
# or
yarn
# bundle and serve the app with vite
npm start
Sample data is stored in deck.gl Example Data, showing all cities with a population > 1000 or seats of administration.
The dataset is created by GeoNames under the CC BY 4.0 license. Accessed on February 9, 2023.
To use your own data, check out the documentation of TextLayer.
The basemap in this example is provided by CARTO free basemap service. To use an alternative base map solution, visit this guide