forked from MapComplete/MapComplete
New preset-system, better 'add new POI'-ui with small confirmation
This commit is contained in:
parent
c020955cdc
commit
8a1e171298
25 changed files with 317 additions and 80 deletions
|
|
@ -12,7 +12,12 @@ export class Bookcases extends LayerDefinition {
|
|||
super();
|
||||
|
||||
this.name = "boekenkast";
|
||||
this.newElementTags = [new Tag("amenity", "public_bookcase")];
|
||||
this.presets = [{
|
||||
tags: [new Tag("amenity", "public_bookcase")],
|
||||
description: "Add a new bookcase here",
|
||||
title: Translations.t.bookcases.bookcase,
|
||||
icon: "/assets/bookcase.svg"
|
||||
}];
|
||||
this.icon = "./assets/bookcase.svg";
|
||||
this.overpassFilter = new Tag("amenity", "public_bookcase");
|
||||
this.minzoom = 11;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue