forked from MapComplete/MapComplete
Fix multiple bugs after user testing
This commit is contained in:
parent
bcdbf6a2dd
commit
9bd37d9cde
20 changed files with 1529 additions and 77 deletions
|
@ -1,10 +1,7 @@
|
|||
import {LayerDefinition} from "../LayerDefinition";
|
||||
import {Quests} from "../Quests";
|
||||
import {FixedUiElement} from "../UI/FixedUiElement";
|
||||
import {TagMapping, TagMappingOptions} from "../UI/TagMapping";
|
||||
import {TagMappingOptions} from "../UI/TagMapping";
|
||||
import L from "leaflet";
|
||||
import {QuestionDefinition} from "../Logic/Question";
|
||||
import {CommonTagMappings} from "./CommonTagMappings";
|
||||
import {Tag} from "../Logic/TagsFilter";
|
||||
|
||||
export class Bookcases extends LayerDefinition {
|
||||
|
|
|
@ -24,7 +24,7 @@ export class Bos extends LayerDefinition {
|
|||
new Tag("landuse", "forest"),
|
||||
new Tag("fixme", "Toegevoegd met MapComplete, geometry nog uit te tekenen")
|
||||
];
|
||||
this.removeContainedElements = true;
|
||||
this.maxAllowedOverlapPercentage = 10;
|
||||
|
||||
this.minzoom = 14;
|
||||
this.questions = [Quests.nameOf(this.name), Quests.accessNatureReserve, Quests.operator];
|
||||
|
|
|
@ -13,7 +13,7 @@ export class NatureReserves extends LayerDefinition {
|
|||
this.icon = "./assets/tree_white_background.svg";
|
||||
this.overpassFilter =
|
||||
new Or([new Tag("leisure", "nature_reserve"), new Tag("boundary","protected_area")]);
|
||||
this.removeTouchingElements = true;
|
||||
this.maxAllowedOverlapPercentage = 10;
|
||||
|
||||
this.newElementTags = [new Tag("leisure", "nature_reserve"),
|
||||
new Tag("fixme", "Toegevoegd met MapComplete, geometry nog uit te tekenen")]
|
||||
|
|
|
@ -15,7 +15,7 @@ export class Park extends LayerDefinition {
|
|||
new Or([new Tag("leisure","park"), new Tag("landuse","village_green")]);
|
||||
this.newElementTags = [new Tag("leisure", "park"),
|
||||
new Tag("fixme", "Toegevoegd met MapComplete, geometry nog uit te tekenen")];
|
||||
this.removeTouchingElements = true;
|
||||
this.maxAllowedOverlapPercentage = 25;
|
||||
|
||||
this.minzoom = 13;
|
||||
this.questions = [Quests.nameOf("park")];
|
||||
|
|
|
@ -13,7 +13,7 @@ export class Playground extends LayerDefinition {
|
|||
this.icon = "./assets/tree_white_background.svg";
|
||||
this.overpassFilter = new Tag("leisure","playground");
|
||||
this.newElementTags = [new Tag("leisure", "playground"), new Tag( "fixme", "Toegevoegd met MapComplete, geometry nog uit te tekenen")]
|
||||
this.removeContainedElements = true;
|
||||
this.maxAllowedOverlapPercentage = 0;
|
||||
|
||||
this.minzoom = 13;
|
||||
this.questions = [Quests.nameOf(this.name)];
|
||||
|
|
|
@ -3,7 +3,6 @@ import {Quests} from "../Quests";
|
|||
import {FixedUiElement} from "../UI/FixedUiElement";
|
||||
import {TagMappingOptions} from "../UI/TagMapping";
|
||||
import L from "leaflet";
|
||||
import {CommonTagMappings} from "./CommonTagMappings";
|
||||
import {Tag} from "../Logic/TagsFilter";
|
||||
|
||||
export class Toilets extends LayerDefinition{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue