mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-24 06:43:01 +00:00
Starbeamrainbowlabs
3fe326b02d
Goodbye, old friend :-( That heatmap thingy took several revisions and lots fo hard work, but it just didn't work out :-( :-( :'(
23 lines
624 B
JavaScript
23 lines
624 B
JavaScript
"use strict";
|
|
|
|
export default {
|
|
version: "__VERSION__",
|
|
build_date: new Date("__BUILD_DATE__"),
|
|
// 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.
|
|
default_zoom: 12,
|
|
|
|
default_reading_type: "PM25",
|
|
|
|
// 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,
|
|
|
|
heatmap: {
|
|
// The radius fo blobs on the heatmap
|
|
blob_radius: 0.02
|
|
}
|
|
}
|