Back to Deck Gl

or

examples/website/geojson/README.md

9.3.2869 B
Original Source

This is a minimal standalone version of the GeoJsonLayer (Polygons) example on deck.gl website.

Usage

Copy the content of this folder to your project.

bash
# install dependencies
npm install
# or
yarn
# bundle and serve the app with vite
npm start

Data format

Sample data is stored in deck.gl Example Data, showing the property values of Vancouver. Source

To use your own data, check out the documentation of GeoJsonLayer.

Basemap

The basemap in this example is provided by CARTO free basemap service. To use an alternative base map solution, visit this guide