/transformap-editor

Editor which talks to the TransforMap API

Primary LanguageJavaScript

TransforMap Editor

Editor talking to data.transformap.co API.

A live instance is running on github.io: see http://transformap.co/transformap-editor/

Usage

You can do the following things:

To move the coordinates on the map, click “Edit Layers” in the bottom left corner, and drag the pin.

To initially set coordinates, click “Draw a marker” in the bottom left corner.

SUSY Fork

A fork tailored for the SUSY project has its repository here.

Its live instance is here: https://susy-partners.github.io/transformap-editor/

Installation

  • clone this repository.
  • npm install

Development

start the watching daemon: brunch watch --server -n

Lint

please run the linter after developing a feature:

npm run lint

if you want to automatically fix the most common things:

npm install standard --global

and run it:

cd app/
standard --fix

deployment to gh-pages

  • save the contents of the 'public' - folder
  • git checkout gh-pages
  • cp -ra public/* .
  • in the index.html, change the absolute links ("/app.css", …) to relative ones, remove the slash.
  • git add
  • git push