installation
cnpm install -g @mapbox/spritezero
cnpm install -g @mapbox/spritezero-cli
use
The ready .svg format picture on the D:/svg
folder for the output pathX:/base/mapbox/sprite/sprite
# 图标转换
spritezero X:/base/mapbox/sprite/sprite D:/svg
Note that the official website said the demand for node.js version
image.png
Roughly meaning, ifspritezero-cli
the time when running on Windows, you must check its dependenciesnode-mapnik
supported versions of node.js, V8 version is node.js support, V9 and above no longer supported.
node-mapnik
The depands
![1481033-fad28d7cd7842b39.png](https://upload-images.jianshu.io/upload_images/1481033-fad28d7cd7842b39.png)
image.png