LoRaWAN-Signal-Mapping/client_src/js/ClientConfig.mjs

32 lines
673 B
JavaScript
Raw Normal View History

"use strict";
export default {
2019-07-22 14:46:07 +00:00
ai_index_file: "ais/index.json",
// The default location to show on the map when loading the page.
2019-07-31 11:15:37 +00:00
default_location: [ 53.76203, -0.35162 ],
2019-07-22 14:46:07 +00:00
// The default zoom level to use when loading the page.
default_zoom: 12,
// The border around gateways that we should consult the AI on.
border: {
lat: 0.1,
lng: 0.2
},
// The resolution of the coverage map
step: {
lat: 0.0015,
lng: 0.003,
},
2019-07-23 14:45:29 +00:00
colour_scale: {
2019-08-07 12:36:33 +00:00
"-150": "rgba(255, 255, 255, 0)",
2019-08-27 13:45:07 +00:00
"-130": "rgba(255, 0, 0, 0.5)",
"-110": "rgba(255, 150, 0, 0.5)",
2019-08-07 12:36:33 +00:00
"-80": "rgba(255, 255, 0, 0.5)",
"-60": "rgba(0, 255, 0, 0.5)",
"-40": "rgba(0, 0, 255, 0.5)"
2019-07-23 14:45:29 +00:00
}
};