Bounding box tool by ceritapeta.co.uk. This tool can be used to generate bounding box coordinates and geojson.
We use tailwind and vite with typescript to develop this app. Requirement:
- NodeJS
- typescript
- tailwind for css
- mapbox public token
You need mapbox public token to emulate this locally.
- create a mapbox account over here
- follow the instruction on how to generate default public access token
- obtain the token
Development environment setup
- have
Node.JS
andnpm
installed git clone
this repository- install the packages
npm install
- create a
src/mapboxtoken.ts
with the following value:
// src/mapboxtoken.ts
export default '<your mapbox token>'
Development server:
- run the dev server
npm run dev
- open the server using your browser, usually
http://localhost:5173/
- edit the code in
/src
- fork this repository so you have your own repository
git clone
your own repository- do your changes
git push
your local changes to your own repository that is a fork of this repository- go to this repository, and create a pull request.