mapcomplete/Customizations/Layouts/Bookcases.ts

20 lines
598 B
TypeScript
Raw Normal View History

2020-07-05 18:59:47 +02:00
import {Layout} from "../Layout";
import * as Layer from "../Layers/Bookcases";
import Translations from "../../UI/i18n/Translations";
import Combine from "../../UI/Base/Combine";
2020-07-05 18:59:47 +02:00
export class Bookcases extends Layout {
2020-07-05 18:59:47 +02:00
constructor() {
super("bookcases",
["nl", "en"],
Translations.t.bookcases.title,
2020-07-05 18:59:47 +02:00
[new Layer.Bookcases()],
14,
51.2,
3.2,
new Combine(["<h3>",Translations.t.bookcases.title,"</h3>", Translations.t.bookcases.description])
);
this.icon = "assets/bookcase.svg"
2020-07-05 18:59:47 +02:00
}
}