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

Spriteify SVG #845

Closed
pnorman opened this issue Nov 18, 2014 · 1 comment
Closed

Spriteify SVG #845

pnorman opened this issue Nov 18, 2014 · 1 comment

Comments

@pnorman
Copy link

pnorman commented Nov 18, 2014

A user may have their existing symbols as SVGs, in which case build-sprite.js will ignore them.

It should be possible to generate both normal and retina sprites from a SVG marker file.

Cross-ref #822

@jfirebaugh
Copy link
Contributor

I don't think we want to take on a dependency on an SVG renderer in build-sprite itself. So this will amount to either a requirement that you pre-render your SVGs to PNG (as maki does by scripting inkscape, for example), or direct SVG support in the renderer (mapbox/mapbox-gl-style-spec#222).

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