Merge pull request #1185 from matkoniecz/fix/updated-linked-reference

Fix/updated linked reference
This commit is contained in:
Mike Simpson 2023-06-22 12:02:38 +01:00 committed by GitHub
commit 07a9ef0098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 2 deletions

View File

@ -31,9 +31,22 @@ There are also some other values to customise the behaviour of the application:
- **'initialMapPosition'** (string) - The default latitude and longitude of the map when the page loads.
- **'initialZoomLevel'** (string) - The default zoom level when the map loads.
For example, the JSON file for Colouring London looks like this:
For example, the [JSON file for Colouring London](https://github.com/colouring-cities/colouring-london/blob/master/app/src/cc-config.json) looks like this:
![alt text](images/cc-config-json.jpg "Title")
```json
{
"cityName": "London",
"projectBlurb": "Colouring London is also the prototype for the Colouring Cities Research Programme (CCRP)",
"githubURL": "https://github.com/colouring-cities/colouring-london",
"privacyStatement": "Colouring London stores your data at The Alan Turing Institute in London behind the organisations firewall in a secure database using industry standard practices",
"initialMapPosition": [ 51.5245255, -0.1338422 ],
"initialZoomLevel": 16,
"postcode": "Postcode",
"energy_rating": "Building Research Establishment Environmental Assessment Method (BREEAM) rating"
}
```
### > cc-config.ts
This file contains the declaration of the variables that can be configured.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB