Now possible to calculateNbTiles and saveTiles with a maximum zoom level.
Added a button to the demo to test that.