tobinbradley / mapbox-gl-style-editor

Simple, code based Mapbox GL style editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mapbox-gl-style-editor

A basic code editor for Mapbox Gl Styles, inspired by mapbox-gl-codeflow-example.

To get started:

git clone https://github.com/tobinbradley/mapbox-gl-style-editor.git
cd mapbox-gl-style-editor
npm install
npm start

If you have a GL JS style file you want to work on, save it as src/gl-style/style.json and get cracking!

Additional features:

  • If your style changes are not valid per the Mapbox GL Style Specification, it will display the error in the web browser.
  • Clicking on a feature will give you information on the feature from the style file.

About

Simple, code based Mapbox GL style editor

License:MIT License


Languages

Language:JavaScript 54.8%Language:HTML 45.2%