geojson.io
A fast, simple editor for map data. Read more on Mapbox, macwright.org.
Goes Great With!
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)
API
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.
Development
Install browserify'ied libraries:
npm install
Browserify libraries, concat other libraries, build minimal d3, build tailwind css:
make
Run a local server to preview your changes.
Development with VSCode (hot reloading)
An optimized development workflow is possible with the Live Server
and Run on Save
VS Code extensions. Both have workspace-specific settings in settings.json
:
- Start a live server using
Live Server's
"Go Live" button Run on Save
will watch/lib
,/src
, andcss/tailwind_src.css
and runmake
when any of them change.Live Server
will ignore/lib
,/src
, andcss/tailwind_src.css
, but will hot reload whenever any other file changes (including the files created bymake
)