2019-01-17 13:56:25 +00:00
|
|
|
"use strict";
|
|
|
|
|
|
|
|
export default {
|
2019-01-26 22:00:37 +00:00
|
|
|
version: "__VERSION__",
|
2019-01-26 22:14:18 +00:00
|
|
|
build_date: new Date("__BUILD_DATE__"),
|
2019-01-17 16:13:27 +00:00
|
|
|
// The url of api.php. Can be relative.
|
|
|
|
api_root: "../api.php",
|
|
|
|
// The default location to show on the map when loading the page.
|
|
|
|
default_location: [ 53.76203,-0.35162 ],
|
|
|
|
// The default zoom level to use when loading the page.
|
2019-01-17 17:31:59 +00:00
|
|
|
default_zoom: 12,
|
|
|
|
|
2021-01-30 21:10:53 +00:00
|
|
|
default_reading_type: "PM25",
|
|
|
|
|
2019-07-31 18:31:05 +00:00
|
|
|
// The number of minutes to round dates to when making time-based HTTP API requests.
|
|
|
|
// Very useful for improving cache hit rates.
|
|
|
|
date_rounding_interval: 6,
|
|
|
|
|
2019-01-18 20:12:30 +00:00
|
|
|
heatmap: {
|
|
|
|
// The radius fo blobs on the heatmap
|
|
|
|
blob_radius: 0.02
|
|
|
|
}
|
2019-01-17 13:56:25 +00:00
|
|
|
}
|