diff --git a/BlueMapWeb b/BlueMapWeb index d12c482..d9ffe64 160000 --- a/BlueMapWeb +++ b/BlueMapWeb @@ -1 +1 @@ -Subproject commit d12c48275f168dbbf05be92c7c46667a8487f5ca +Subproject commit d9ffe6453fc17e8a623f4446aa164edc80949ff2 diff --git a/src/js/BlueMapApp.js b/src/js/BlueMapApp.js index a8662f4..f177351 100644 --- a/src/js/BlueMapApp.js +++ b/src/js/BlueMapApp.js @@ -58,6 +58,8 @@ export class BlueMapApp { * useCookies: boolean, * enableFreeFlight: boolean, * resolutionDefault: number, + * minZoomDistance: number, + * maxZoomDistance: number, * hiresSliderMax: number, * hiresSliderDefault: number, * hiresSliderMin: number, @@ -121,6 +123,8 @@ export class BlueMapApp { // load settings await this.getSettings(); + this.mapControls.minDistance = this.settings.minZoomDistance; + this.mapControls.maxDistance = this.settings.maxZoomDistance; this.appState.controls.enableFreeFlight = this.settings.enableFreeFlight; // unload loaded maps