Add --buildpyramid, to build a full zoom pyramid for leaflet.

This commit is contained in:
Martijn Versteegh
2018-11-15 12:42:05 +01:00
parent f84828b0bf
commit 90e7228bb9
7 changed files with 153 additions and 11 deletions

View File

@ -31,6 +31,7 @@ void usage()
" --geometry x:y+w+h\n"
" --tilesize wxh\n"
" --leaflet\n"
" --buildpyramid\n"
" --extent\n"
" --zoom <zoomlevel>\n"
" --colors <colors.txt>\n"
@ -93,6 +94,7 @@ int main(int argc, char *argv[])
{"scales", required_argument, 0, 'f'},
{"noemptyimage", no_argument, 0, 'n'},
{"leaflet", no_argument, 0, 'l'},
{"buildpyramid", no_argument, 0, 'B'},
{0, 0, 0, 0}
};
@ -152,6 +154,9 @@ int main(int argc, char *argv[])
case 'l':
generator.setLeaflet(true);
break;
case 'B':
generator.setBuildPyramid(true);
break;
case 'd':
generator.setBackend(optarg);
break;