Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Build sprites #1

Open
pnorman opened this issue May 13, 2020 · 5 comments
Open

Build sprites #1

pnorman opened this issue May 13, 2020 · 5 comments

Comments

@pnorman
Copy link
Owner

pnorman commented May 13, 2020

We need to be able to include symbols on the map. To do this, we need to compile images into spritesheets and serve them locally.

ref mapbox/mapbox-gl-js#4086 (comment)

@pnorman
Copy link
Owner Author

pnorman commented Jan 12, 2021

The way Mapbox mentions for sprites is spritezero, but it depends on Mapnik. I'm looking for alternatives.

@pathmapper
Copy link

@pnorman you might have a look at https://github.com/orangemug/spriter

@pnorman
Copy link
Owner Author

pnorman commented Jan 12, 2021

@pnorman you might have a look at https://github.com/orangemug/spriter

It doesn't seem to have a CLI output to files, does it?

@pnorman
Copy link
Owner Author

pnorman commented Jan 12, 2021

https://github.com/elastic/spritezero was mentioned as an option

@pathmapper
Copy link

It doesn't seem to have a CLI output to files, does it?

Currently not, but you could save the png / json from the URLs.

https://github.com/elastic/spritezero was mentioned as an option

Depends also on Mapnik:
https://github.com/elastic/spritezero/blob/3b89dc0fef2acbf9db1e77a753a68b02f74939a8/package.json#L21
(from #1 (comment) I understood this is not desired)

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

No branches or pull requests

2 participants