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
|
@ -15,6 +15,16 @@ export class GhostBike extends LayerDefinition {
|
|||
this.description = "A <b>ghost bike</b> is a memorial for a cyclist who died in a traffic accident," +
|
||||
" in the form of a white bicycle placed permanently near the accident location.";
|
||||
|
||||
|
||||
this.presets = [
|
||||
{
|
||||
title: "Ghost bike",
|
||||
description: "Add a missing ghost bike to the map",
|
||||
icon: "/assets/bike/ghost.svg",
|
||||
tags: [new Tag("historic", "memorial"), new Tag("memorial", "ghost_bike")]
|
||||
}
|
||||
]
|
||||
|
||||
this.elementsToShow = [
|
||||
new FixedText(this.description),
|
||||
new ImageCarouselWithUploadConstructor(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue