Home Reference Source Repository
import App from './App.js'
public class | source

App

This class builds the whole application and plugs everything together using events.

Template: IndexTemplate

Constructor Summary

Public Constructor
public

Member Summary

Public Members
public
public
public
public
public
public

Method Summary

Public Methods
public

Displays the climate projection time series plot for a given cluster and parameter/variable.

public

showClusterHistoricPlot(clusterCode: string, paramKey: string)

Displays the historic time series plot for a given cluster and parameter/variable.

public

Displays the climate projection time series plot for a given country and parameter/variable.

public

showCountryHistoricPlot(countryCode: string, paramKey: string)

Displays the historic time series plot for a given country and parameter/variable.

Public Constructors

public constructor source

Public Members

public clusterLayer: L.GeoJSON source

public clusterModeControl: ClusterModeControl source

public countryLayer: L.GeoJSON source

public map: L.Map source

public timePeriodControl: TimePeriodControl source

public variablesControl: VariablesControl source

Public Methods

public showClusterClimateProjectionPlot(clusterCode: string, paramKey: string) source

Displays the climate projection time series plot for a given cluster and parameter/variable.

NOTE: This is not implemented yet and displays a no data message.

Params:

NameTypeAttributeDescription
clusterCode string

The 4-letter upper-case cluster code, e.g. 31DE.

paramKey string

The parameter/variable key within the CovJSON timeseries file.

public showClusterHistoricPlot(clusterCode: string, paramKey: string) source

Displays the historic time series plot for a given cluster and parameter/variable.

Params:

NameTypeAttributeDescription
clusterCode string

The 4-letter upper-case cluster code, e.g. 31DE.

paramKey string

The parameter/variable key within the CovJSON timeseries file.

public showCountryClimateProjectionPlot(countryCode: string, paramKey: string) source

Displays the climate projection time series plot for a given country and parameter/variable.

Params:

NameTypeAttributeDescription
countryCode string

The 2-letter upper-case country code, e.g. DE.

paramKey string

The parameter/variable key within the CovJSON timeseries file.

public showCountryHistoricPlot(countryCode: string, paramKey: string) source

Displays the historic time series plot for a given country and parameter/variable.

Params:

NameTypeAttributeDescription
countryCode string

The 2-letter upper-case country code, e.g. DE.

paramKey string

The parameter/variable key within the CovJSON timeseries file.