Starting to add some localisation
This commit is contained in:
parent
2c266d0c28
commit
29522d2ce7
@ -5,5 +5,8 @@
|
||||
"privacyStatement": "{Privacy statement goes here}",
|
||||
|
||||
"initialMapPosition": [ 51.5245255, -0.1338422 ],
|
||||
"initialZoomLevel": 16
|
||||
"initialZoomLevel": 16,
|
||||
|
||||
"postcode": "Postcode",
|
||||
"energy_rating": "Building Research Establishment Environmental Assessment Method (BREEAM) rating"
|
||||
}
|
||||
|
@ -1,11 +1,14 @@
|
||||
export interface CCConfig
|
||||
{
|
||||
cityName: string;
|
||||
projectBlurb: string;
|
||||
githubURL: string;
|
||||
privacyStatement: string;
|
||||
cityName: string; // City name (i.e. "Colouring {City Name}")
|
||||
projectBlurb: string; // Description used on homepage
|
||||
githubURL: string; // URL of the project's GitHub repository
|
||||
privacyStatement: string; // Privacy statement, including where data is stored
|
||||
|
||||
initialMapPosition: [number, number];
|
||||
initialZoomLevel: number;
|
||||
initialMapPosition: [number, number]; // Initial location of the map [latitude, longitude]
|
||||
initialZoomLevel: number; // Initial Zoom Level
|
||||
|
||||
postcode: string; // Alternative for "Postcode" text (i.e. "Zip Code")
|
||||
energy_rating: string; // Official Environmental Energy Rating (BREEAM Rating in UK)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user