This is a Next.js project bootstrapped with create-next-app
.
Add your .env config file:
cp .env.example .env.local
- Set your variables as needed, particularly your Mapbox token if you'd rather use
mapbox-gl
instead ofmaplibre-gl
Install project dependencies:
yarn
Finally, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.