Refactored the configuration as described in issue #17:
Moved mapSettings from mqtt to the top level. If an old configuration is encountered, the default map settings are used and a warning is displayed.
Removed the border setting.
The configuration file is now only written if it does not exist. If an existing config file can not be parsed, an error is shown and the application exits with status code 1. This should fix #11.
Refactored the configuration as described in issue #17:
mapSettings
frommqtt
to the top level. If an old configuration is encountered, the default map settings are used and a warning is displayed.border
setting.