This commit adds maps hiding. This commit is taken from Reveny's PR, for more information, see #9. solves #9