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

31 lines
673 B
JavaScript

"use strict";
export default {
ai_index_file: "ais/index.json",
// 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,
// 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,
},
colour_scale: {
"-150": "rgba(255, 255, 255, 0)",
"-120": "rgba(255, 0, 0, 0.5)",
"-100": "rgba(255, 150, 0, 0.5)",
"-80": "rgba(255, 255, 0, 0.5)",
"-60": "rgba(0, 255, 0, 0.5)",
"-40": "rgba(0, 0, 255, 0.5)"
}
};