|
|
@ -72,13 +72,13 @@ function parseFloodZones(row) { |
|
|
|
displacement += offset; |
|
|
|
return { |
|
|
|
ID: ++ID, |
|
|
|
title: row["Passable"] == 0 ? "Transponível" : "Intransponível", |
|
|
|
title: row["Passable"] == 1 ? "Transponível" : "Intransponível", |
|
|
|
coordinate: { |
|
|
|
latitude: row["Latitude"], |
|
|
|
longitude: row["Longitude"] + displacement, |
|
|
|
}, |
|
|
|
image: |
|
|
|
row["Passable"] == 0 |
|
|
|
row["Passable"] == 1 |
|
|
|
? custom_assets.floodZones.passable |
|
|
|
: custom_assets.floodZones.notPassable, |
|
|
|
description: row["Description"], |
|
|
|