Woosmap map style generator
Note: The sprite generator is written in go to take advantage of svg rendering
flowchart TD
A[Generate layers] -->|Get required icons| B(Adds raster icons)
B --> C[Generate sprite]
First use is to generate the multi class layer for point_of_interest layer.
Additionally, it's used to generate a compatibility poi multi class layer that replaces the handmade ones.
Layers documentation
sprite cli
$ sprite --help
Handles both raster icons and sdf icons rendered from svg, with generated casing.
Can also be used to slice a sprite into multiple pngs.
Usage:
sprite [flags]
sprite [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
generate Generates the map sprite from required icons struct.
help Help about any command
slice Slice sprite into individual pngs.
Flags:
-h, --help help for sprite
-v, --verbose verbose output
Use "sprite [command] --help" for more information about a command.