|
@ -6,6 +6,7 @@ import assets from "../config/assets"; |
|
|
|
|
|
|
|
|
const custom_assets = { |
|
|
const custom_assets = { |
|
|
pluviometer: assets.pluviometer, |
|
|
pluviometer: assets.pluviometer, |
|
|
|
|
|
officialPluviometer: assets.officialPluviometer, |
|
|
floodZones: assets.floodZones, |
|
|
floodZones: assets.floodZones, |
|
|
riverLevel: ["low", "normal", "high", "flooding"].map((key) => { |
|
|
riverLevel: ["low", "normal", "high", "flooding"].map((key) => { |
|
|
return assets.riverLevel[key]; |
|
|
return assets.riverLevel[key]; |
|
@ -208,7 +209,7 @@ function buildRandonData(location, addr) { |
|
|
|
|
|
|
|
|
return points.map((points) => { |
|
|
return points.map((points) => { |
|
|
return { |
|
|
return { |
|
|
image: custom_assets.pluviometer, |
|
|
|
|
|
|
|
|
image: custom_assets.officialPluviometer, |
|
|
ID: ++ID, |
|
|
ID: ++ID, |
|
|
name: "officialPluviometer", |
|
|
name: "officialPluviometer", |
|
|
title: "Pluviometro Oficial " + i++, |
|
|
title: "Pluviometro Oficial " + i++, |
|
|