forked from MapComplete/MapComplete
Added bike services layer and questions
This commit is contained in:
parent
19614369ba
commit
7e2904d3c0
13 changed files with 188 additions and 108 deletions
18
Customizations/Questions/BikeStationChain.ts
Normal file
18
Customizations/Questions/BikeStationChain.ts
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import {TagRenderingOptions} from "../TagRendering";
|
||||
import {Tag} from "../../Logic/TagsFilter";
|
||||
|
||||
|
||||
export default class BikeStationChain extends TagRenderingOptions {
|
||||
private static options = {
|
||||
priority: 5,
|
||||
question: "Does this bike station have a special tool to repair your bike chain?",
|
||||
mappings: [
|
||||
{k: new Tag("service:bicycle:chain_tool", "yes"), txt: "There is a chain tool."},
|
||||
{k: new Tag("service:bicycle:chain_tool", "no"), txt: "There is no chain tool."},
|
||||
]
|
||||
}
|
||||
|
||||
constructor() {
|
||||
super(BikeStationChain.options);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue