feat: fit map to screen size

This commit is contained in:
Azgaar 2023-11-19 16:51:59 +04:00
parent ada39b47ad
commit 1200b9e60f
8 changed files with 64 additions and 75 deletions

View file

@ -39,7 +39,7 @@ window.Submap = (function () {
DEBUG && console.log("Using Options:", options);
// create new grid
applyMapSize();
applyGraphSize();
grid = generateGrid();
drawScaleBar(scale);