Commit e24965ab authored by alain's avatar alain 🐙
Browse files

more aso settings

parent 0c917fd4
......@@ -15,9 +15,12 @@ export const dataGroups = [
"db": {
id: "db",
label: "geluidsniveau (dB)",
label: "geluidsniveau",
type: "StationLayer",
sources: [ cidata, asokit ],
sources: [
asokit,
cidata
],
tooltip: "",
more: "",
units: [
......
......@@ -5,12 +5,17 @@ export const mapLocations = null
export const mapDefaults = {
// bounds: [
// [52.366823, 4.877358].reverse(),
// [52.360942, 4.891785].reverse()
// ],
bounds: [
[52.366110, 4.877837].reverse(),
[52.360286, 4.883248].reverse()
[52.376822, 4.891405].reverse(),
[52.369723, 4.906947].reverse()
],
viewport: {
pitch: 60,
pitch: 40,
bearing: 30
}
}
......@@ -31,6 +36,7 @@ export const mapItemSettings = {
sizeMax: 100,
elevationMaxMin: 25,
elevationMaxMax: 100,
colorOffline: "#888"
}
export const lightSettings = {
......
......@@ -4,9 +4,10 @@ import { addMissingHours } from "../../data-on-a-map-app/src/util/data"
export default {
name: "asokit",
sides: 6,
sides: 24,
angle: 0,
factor: 1,
factor: 0.5,
granularity: ["minutely", "hourly", "daily"],
all: async function getAll(parameter) {
try {
......@@ -25,7 +26,7 @@ export default {
const sensorDataReturn = {
id: sensor.id,
name: sensor.id,
name: `ASoKit ${sensor.id.replace("slm_","")}: ${sensor.name}`,
source: "asokit",
coordinates: sensor.coordinates.reverse(),
mean: null
......@@ -73,7 +74,7 @@ export default {
const stationMeta = {
type: station.id,
name: station.name,
description: ""
description: "[description]"
}
const response = await fetch(`https://data.waag.org/api/asounds/asokit?granularity=hourly&sensor_id=${station.id}&start=${start}&end=${end}`)
......
......@@ -4,9 +4,9 @@ import { addMissingHours } from "../../data-on-a-map-app/src/util/data"
export default {
name: "cidata",
sides: 6,
sides: 4,
angle: 0,
factor: 1,
factor: 0.75,
all: async function getAll(parameter) {
try {
......@@ -25,7 +25,7 @@ export default {
const sensorDataReturn = {
id: sensor.id,
name: sensor.id,
name: `Type 1 mic: ${sensor.name}`,
source: "cidata",
coordinates: sensor.coordinates.reverse(),
mean: null
......@@ -73,7 +73,7 @@ export default {
const stationMeta = {
type: station.id,
name: station.name,
description: ""
description: "Convergence Instruments NSRTW mk3 type1 mic"
}
const response = await fetch(`https://data.waag.org/api/asounds/cidata?granularity=hourly&sensor_id=${station.id}&start=${start}&end=${end}`)
......
......@@ -2,7 +2,7 @@
export const texts = {
about: {
title: "over deze kaart",
body: "<p>Deze kaart visualiseert data afkomstig van ...</p>"
body: "<p>Deze kaart visualiseert data afkomstig van [...]</p>"
},
pilotLocations: "Pilot-locaties",
loading: "Bezig met laden...",
......
data-on-a-map-app @ 24e41a4c
Subproject commit 71c3de83f1e7a1eebb187a52c3ed46911bbfd0c0
Subproject commit 24e41a4c49669ed26b82d20ee3949206cbfd3317
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment