minetestmapper/buildpyramid
Martijn Versteegh fa41e7bf01 Add utility to create zoom pyramids and write a leaflet html file. 2018-11-28 20:16:02 +01:00
..
Readme.txt Add utility to create zoom pyramids and write a leaflet html file. 2018-11-28 20:16:02 +01:00
buildpyramid.cpp Add utility to create zoom pyramids and write a leaflet html file. 2018-11-28 20:16:02 +01:00
makefile Add utility to create zoom pyramids and write a leaflet html file. 2018-11-28 20:16:02 +01:00

Readme.txt

usage: buildpyramid <metadatafile> <outputname>

Reads the metadata file (output by minetestmapper) describing how many tiles are available and writes a full zoom pyramid and some HTML code for use with leaflet.js to display a 'slippy' map.
just copy leaflet.js and leaflet.css form leaflet into the same folder and you whould have a working map.

Outputname should end in .jpg (recommended) or .png.



buildpyramid can't handle subdirectories. run it from the directory containing your minetestmapper output. it will write your map to the same folder.