Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Style by coding (YAML, ...) #5

Closed
klokan opened this issue Sep 25, 2016 · 2 comments
Closed

Style by coding (YAML, ...) #5

klokan opened this issue Sep 25, 2016 · 2 comments
Labels

Comments

@klokan
Copy link
Member

klokan commented Sep 25, 2016

At SOTM we have discussed a need to be able to write the style by hand as well...

There is the @tmcw codeflow project which demonstrates such approach with YAML, TOML and JSON5 syntax for the GL JSON format.

Details in:
http://www.macwright.org/2015/08/17/mapbox-gl-codeflow.html

The code:
https://github.com/mapbox/mapbox-gl-codeflow-example

@meekjt
Copy link

meekjt commented Dec 4, 2016

I agree, this would be helpful for styling attributes not yet supported by the graphical editor. YAML would be my first choice since it is more compact than JSON.

@lukasmartinelli
Copy link
Collaborator

I think this has been adressed with both the JSON editor within Maputnik in each layer and
the possibility to edit a JSON locally and have it sync up with Maputnik.

https://youtu.be/vCFsrwocE9s

Edit local Style JSON with Maputnik

nyurik pushed a commit that referenced this issue Feb 12, 2024
Add option to choose a listening port
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants