A fast, simple editor for map data. Read more on Mapbox, macwright.org.
Tools
- Using geojson.io with GitHub is better with the Chrome Extension
- geojsonio-cli lets you shoot geojson from your terminal to geojson.io! (with nodejs)
- geojsonio.py lets you shoot geojson from your terminal to geojson.io! (with python)
You can interact with geojson.io programmatically via URL parameters. Here is an example of geojson encoded into the URL:
Full API documentation can be found in API.md.
- Clone this repository
- Install dependencies
- Run
npm start
npm start
uses concurrently
to run live-server
which will serve the project directory in your browser and listen for changes, rollup
which will build the js and css bundles, and npx tailwindcss
which builds css/tailwind_dist.css
(including only the tailwind rules needed in the project)
rollup
can take several seconds to build before changes appear in the browser.
npm run build
will create minified bundles in /dist
. You can try out the production build with npm run serve
which will run live-server.
To deploy to github pages, use npm run deploy
. This will run the deploy script in deploy.sh
, which creates a new orphan branch from the current branch, runs a production build, and force pushes to the gh-pages
branch.