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

Build out /styles endpoint #130

Open
chriswhong opened this issue Mar 21, 2019 · 0 comments
Open

Build out /styles endpoint #130

chriswhong opened this issue Mar 21, 2019 · 0 comments
Milestone

Comments

@chriswhong
Copy link
Contributor

POST /styles

The styles endpoint returns a valid mapboxGL style based on the base style, modified using the following parameters:

excludes (Array) - Array of layer ids from the base style to exclude.

overrides (Array) - Array of mapboxGL layer fragment objects including the layer id. Each key in this object will override the default in the corresponding layer from the base style.

sources (Array) - Array of mapboxGL source objects to be included in the returned style. Accepts all existing mapboxGL source types plus the ‘cartovector’ type defined in this spec.

@chriswhong chriswhong added this to the v2 milestone Mar 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant