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

add support for static image style parameters #98

Open
riastrad opened this issue Oct 1, 2019 · 1 comment
Open

add support for static image style parameters #98

riastrad opened this issue Oct 1, 2019 · 1 comment

Comments

@riastrad
Copy link

riastrad commented Oct 1, 2019

The Static Image API now allows clients to pass certain style parameters with static image requests. More context can be found on the public documentation pages: https://docs.mapbox.com/api/maps/#style-parameters.

Although this feature is currently in beta, it might be worthwhile to get a head start on adding support for these parameters to this library.

@1ec5
Copy link
Contributor

1ec5 commented Dec 18, 2019

The new style parameters require passing in a JSON blob, which is quite awkward to construct and manage in Swift. I think this library should provide a convenience function that generates the JSON blob via strongly typed properties. Perhaps we could adapt this map SDK script to generate the necessary API in this library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants