mapcomplete/Customizations/Layouts/Cyclofix.ts

27 lines
908 B
TypeScript
Raw Normal View History

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