Open samanpwbb opened 8 years ago
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 (https://github.com/mapbox/mapbox-gl-js/issues/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.
I think we need to solve https://github.com/mapbox/mapbox-gl-style-spec/issues/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.
This project should output a PNG sprite of variable resolution that uses icons from Maki.