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
|
@ -18,7 +18,13 @@ export class Birdhide extends LayerDefinition {
|
|||
icon: "assets/nature/birdhide.svg",
|
||||
minzoom: 12,
|
||||
wayHandling: LayerDefinition.WAYHANDLING_CENTER_AND_WAY,
|
||||
newElementTags: [Birdhide.birdhide],
|
||||
presets: [
|
||||
{
|
||||
title: "Vogelkijkplaats",
|
||||
icon: "/assets/nature/birdhide.svg",
|
||||
tags: [Birdhide.birdhide]
|
||||
}
|
||||
],
|
||||
style(tags: any): { color: string; icon: any } {
|
||||
return {color: "", icon: undefined};
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue