import {LayerDefinition} from "../LayerDefinition";
import {NatureReserves} from "./NatureReserves";
import {Toilets} from "./Toilets";
import {Bos} from "./Bos";
import {Park} from "./Park";
import {Playground} from "./Playground";
import {Bookcases} from "./Bookcases";
import {Artwork} from "./Artwork";
import {GrbToFix} from "./GrbToFix";
export class KnownSet {
public name: string;
public title: string;
public layers: LayerDefinition[];
public welcomeMessage: string;
public gettingStartedPlzLogin: string;
public welcomeBackMessage: string;
public startzoom: number;
public startLon: number;
public startLat: number;
static allSets : any = {};
constructor(
name: string,
title: string,
layers: LayerDefinition[],
startzoom: number,
startLat: number,
startLon: number,
welcomeMessage: string,
gettingStartedPlzLogin: string,
welcomeBackMessage: string
) {
this.title = title;
this.startLon = startLon;
this.startLat = startLat;
this.startzoom = startzoom;
this.name = name;
this.layers = layers;
this.welcomeMessage = welcomeMessage;
this.gettingStartedPlzLogin = gettingStartedPlzLogin;
this.welcomeBackMessage = welcomeBackMessage;
KnownSet.allSets[this.name] = this;
}
static groen = new KnownSet("groen",
"Buurtnatuur",
[new NatureReserves(), new Park(), new Bos()],
14,
51.2,
3.2,
" \n" +
"\n" +
"
Natuur maakt immers gelukkig!
\n" + "\n" + "De data komt van OpenStreetMap en je antwoorden worden daar ook opgeslaan. " + "Omdat iedereen aan deze data bijdraagt, kunnen we geen garantie op correctheid bieden en heeft deze data geen juridische waarde
\n" + "Je privacy is belangrijk. We tellen wel hoeveel personen de website bezoeken. Om je niet dubbel te tellen wordt er één cookie bijgehouden waar geen persoonlijke informatie in staat. " + "Als je inlogt, komt er een tweede cookie bij met je inloggegevens.
\n", "Wil je meehelpen?
\n" +
" Begin dan met een account\n" +
" te maken of\n" +
" in te loggen.
Help us to create the most complete map about all the toilets in the world, based on openStreetMap." + "One can answer questions here, which help users all over the world to find an accessible toilet, close to them.
" , "Start by creating an account\n" + " or by " + " logging in.
", "Start by clicking a pin and answering the questions" ); static bookcases = new KnownSet( "bookcases", "Open Bookcase Map", [new Bookcases()], 14, 51.2, 3.2, "" + "Help mee met het creëeren van een volledige kaart met alle boekenruilkastjes!" + "Een boekenruilkastje is een vaste plaats in publieke ruimte waar iedereen een boek in kan zetten of uit kan meenemen." + "Meestal een klein kastje of doosje dat op straat staat, maar ook een oude telefooncellen of een schap in een station valt hieronder."+ "
" , "Begin met het aanmaken van een account\n" + " of door je " + " aan te melden.
", "Klik op een boekenruilkastje om vragen te beantwoorden" ); static statues = new KnownSet( "statues", "Open Artwork Map", [new Artwork()], 10, 50.8435, 4.3688, "" + "Help with creating a map of all statues all over the world!" , "
Start by creating an account\n" + " or by " + " logging in.
", "Start by clicking a pin and answering the questions" ); static grb = new KnownSet( "grb", "Grb import fix tool", [new GrbToFix()], 10, 50.8435, 4.3688, "