Fix lockLocation of speelplekken, force explicit bounds

This commit is contained in:
Pieter Vander Vennet 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;