forked from MapComplete/MapComplete
Add ghost bikes, fix build
This commit is contained in:
parent
4ea179b76d
commit
431c90d9de
5 changed files with 31 additions and 52 deletions
23
Customizations/Layouts/GhostBikes.ts
Normal file
23
Customizations/Layouts/GhostBikes.ts
Normal file
|
@ -0,0 +1,23 @@
|
|||
import {Layout} from "../Layout";
|
||||
import {GhostBike} from "../Layers/GhostBike";
|
||||
import Combine from "../../UI/Base/Combine";
|
||||
import Translations from "../../UI/i18n/Translations";
|
||||
|
||||
export class GhostBikes extends Layout {
|
||||
constructor() {
|
||||
super("ghostbikes",
|
||||
["en"],
|
||||
"Ghost Bike Map",
|
||||
[new GhostBike()],
|
||||
6,
|
||||
50.423,
|
||||
5.493,
|
||||
new Combine(["<h3>", "A map of Ghost Bikes", "</h3>",
|
||||
"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.",
|
||||
"On this map, one can see the location of known ghost bikes, and (with a free OpenStreetMap account) easily add missing and new Ghost Bikes"])
|
||||
);
|
||||
|
||||
this.icon = "./assets/bike/ghost.svg";
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue