mapcomplete/Customizations/Layouts/Cyclofix.ts

34 lines
1.1 KiB
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 BikeServices from "../Layers/BikeStations";
2020-07-20 23:43:42 +02:00
import BikeShops from "../Layers/BikeShops";
2020-07-20 12:39:43 +02:00
import Translations from "../../UI/i18n/Translations";
2020-07-21 01:37:48 +02:00
import Combine from "../../UI/Base/Combine";
import BikeOtherShops from "../Layers/BikeOtherShops";
2020-07-29 15:55:50 +02:00
import BikeCafes from "../Layers/BikeCafes";
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(
"cyclofix",
["en", "nl", "fr","gl"],
Translations.t.cyclofix.title,
[new BikeServices(), new BikeShops(), "drinking_water", "bike_parking", new BikeOtherShops(), new BikeCafes()],
16,
50.8465573,
4.3516970,
2020-07-21 01:37:48 +02:00
new Combine([
"<h3>",
Translations.t.cyclofix.title,
"</h3><br/><p>",
Translations.t.cyclofix.description,
"</p>"
2020-07-23 12:03:44 +02:00
])
);
this.icon = "./assets/bike/logo.svg"
this.description = "Easily search and contribute bicycle data nearby";
this.socialImage = "./assets/bike/cyclofix.jpeg";
this.widenFactor = 0.5;
2020-07-07 16:00:27 +02:00
}
}