Fix lockLocation of speelplekken, force explicit bounds

This commit is contained in:
pietervdvn 2022-02-10 01:09:57 +01:00
parent 729e21ff60
commit d5378c5bd6
2 changed files with 8 additions and 2 deletions

View file

@ -242,7 +242,7 @@ export interface LayoutConfigJson {
* If set to [[lon, lat], [lon, lat]], the map will not scroll outside of those bounds.
* Off by default, which will enable panning to the entire world
*/
lockLocation?: boolean | [[number, number], [number, number]] | number[][];
lockLocation?: [[number, number], [number, number]] | number[][];
enableUserBadge?: boolean;
enableShareScreen?: boolean;

View file

@ -13,7 +13,13 @@
"maintainer": "MapComplete",
"icon": "./assets/themes/speelplekken/logo.svg",
"hideFromOverview": true,
"lockLocation": false,
"lockLocation": [ [
4.291534423828125,
51.061249423389796
], [
4.604301452636719,
51.23978120350654
]],
"version": "0",
"startLat": 51.17174,
"startLon": 4.449462,