Browse Source

Removing marker offset in MapFeed

master
GabrielTrettel 4 years ago
parent
commit
a1ca5ff52a
  1. 8
      src/app/hooks/selectFromDB.js

8
src/app/hooks/selectFromDB.js

@ -50,7 +50,7 @@ function partsePluviometer(row) {
}
const description = row["Description"] ? "\n\n" + row["Description"] : "";
displacement += offset;
// displacement += offset;
const i = {
ID: ++ID,
title: "Pluviometro",
@ -74,7 +74,7 @@ function parseFloodZones(row) {
return null;
}
displacement += offset;
// displacement += offset;
return {
ID: ++ID,
title: row["Passable"] == 1 ? "Transponível" : "Intransponível",
@ -98,7 +98,7 @@ function parseRiverLevel(row) {
return null;
}
console.log(JSON.stringify(row));
displacement += offset;
// displacement += offset;
const riverLevel = ["baixo", "normal", "alto", "transbordando"];
const riverIdx = row["RiverIdx"];
return {
@ -121,7 +121,7 @@ function parseRainLevel(row) {
return null;
}
displacement += offset;
// displacement += offset;
const rainLevel = [
"Sem chuva",
"Chuva fraca",

Loading…
Cancel
Save