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

Output a sprite #19

Open
samanpwbb opened this issue May 23, 2016 · 2 comments
Open

Output a sprite #19

samanpwbb opened this issue May 23, 2016 · 2 comments

Comments

@samanpwbb
Copy link

This project should output a PNG sprite of variable resolution that uses icons from Maki.

@samanpwbb
Copy link
Author

if this project took both geojson and a stylesheet as input, this would be straightforward. Such a tool would be especially powerful if multiple sprites were supported in GL (mapbox/mapbox-gl-js#358) because then it'd be possible to overlay full range of icons from maki without dropping or trying to re-write the source style's sprite.

@jfirebaugh
Copy link

I think we need to solve mapbox/mapbox-gl-style-spec#220 or otherwise have a way for a style to embed icons directly in the style, with no external references. Otherwise there is no way to actually support the desired usage (new mapboxgl.Map({style: convert(geoJSON)})) because the converted style would have to reference static hosted assets somewhere.

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

2 participants