Various fixes, enabled preciseLocation input by default

This commit is contained in:
Pieter Vander Vennet 2021-10-15 19:58:02 +02:00
parent 8fca373437
commit 8ebfb3de51
6 changed files with 71 additions and 41 deletions

View file

@ -162,7 +162,9 @@ export default class LayerConfig {
}
this.presets = (json.presets ?? []).map((pr, i) => {
let preciseInput = undefined;
let preciseInput = {
preferredBackground: "photo"
};
if (pr.preciseInput !== undefined) {
if (pr.preciseInput === true) {
pr.preciseInput = {