mapcomplete/Customizations/Layouts/Cyclofix.ts

28 lines
920 B
TypeScript
Raw Normal View History

2020-07-07 16:00:27 +02:00
import {Layout} from "../Layout";
2020-07-16 15:56:10 +02:00
import BikeParkings from "../Layers/BikeParkings";
import BikeServices from "../Layers/BikeStations";
2020-07-20 23:43:42 +02:00
import BikeShops from "../Layers/BikeShops";
import {GhostBike} from "../Layers/GhostBike";
2020-07-20 12:39:43 +02:00
import Translations from "../../UI/i18n/Translations";
2020-07-20 16:16:22 +02:00
import {DrinkingWater} from "../Layers/DrinkingWater";
2020-07-21 00:07:04 +02:00
import {BikeShop} from "../Layers/BikeShop"
2020-07-07 16:00:27 +02:00
2020-07-08 17:12:23 +02:00
export default class Cyclofix extends Layout {
2020-07-07 16:00:27 +02:00
constructor() {
super(
"pomp",
2020-07-21 00:07:04 +02:00
["en", "nl", "fr"],
Translations.t.cyclofix.title,
2020-07-20 16:32:35 +02:00
[new BikeServices(), new BikeShop(), new DrinkingWater(), new BikeParkings()],
16,
50.8465573,
4.3516970,
"<h3>" + Translations.t.cyclofix.title.Render() + "</h3>\n" +
2020-07-07 16:00:27 +02:00
"\n" +
`<p>${Translations.t.cyclofix.description.Render()}</p>`
2020-07-07 16:00:27 +02:00
,
"", "");
}
}