Release: A stable release is available on GitHub Releases.
This is a very simple tool that converts SVG files into a leaflet PNG tile map. It takes one or more SVG images, slices them into tiles at various zoom levels and combines them into one leaflet usable structure. You can assign zoom ranges for each image to get the wanted transition between images.
When prompted, enter the number of SVG images you wish to process. Then provide the file paths to your SVG images (path and “path” are both valid)
Specify the output directory where the tiles will be saved.
Choose to use the default tile dimension (512 pixels) or enter a custom output file size.
For each image, input the minimum and maximum zoom level. They are not allowed to overlap since all of them will be saved to the same output folder. Both can be inputted at the same time by writing min-max (e.g. 1-4)
The tool supports automatic image optimization for the generated PNG tiles to greatly reduce file size. This feature relies on oxipng, an external PNG optimizer.
For it to work, ensure that the oxipng.exe executable is placed in the same directory as the tool's executable (or accessible via your system's PATH environment variable).
This project is licensed under the MIT License.