roblabs / geojson

A quick, simple tool for creating, viewing, and sharing spatial data. RobLabs.com/geojson

Home Page:http://geojson.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FOSSA Status

geojson.io

A fast, simple editor for map data. Read more on Mapbox, macwright.org.

Goes Great With!

Tools

API

You can interact with geojson.io programmatically via URL parameters. Here is an example of geojson encoded into the URL:

https://geojson.io/#data=data:application/json,%7B%22type%22%3A%22LineString%22%2C%22coordinates%22%3A%5B%5B0%2C0%5D%2C%5B10%2C10%5D%5D%7D

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, and css/tailwind_src.css and run make when any of them change.
  • Live Server will ignore /lib,/src, and css/tailwind_src.css, but will hot reload whenever any other file changes (including the files created by make)

License

FOSSA Status

About

A quick, simple tool for creating, viewing, and sharing spatial data. RobLabs.com/geojson

http://geojson.io/

License:ISC License


Languages

Language:JavaScript 70.1%Language:CSS 20.8%Language:HTML 8.0%Language:Makefile 1.1%