diff options
Diffstat (limited to 'client')
| -rw-r--r-- | client/map/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/map/index.js b/client/map/index.js index 9f4cc623..7c205268 100644 --- a/client/map/index.js +++ b/client/map/index.js @@ -87,7 +87,7 @@ export default function append(el, payload) { }).addTo(map) if (address) { - source = [address.lat, address.lng].map(n => parseFloat(n)) + source = [address.lat, address.lng].map(n => (parseFloat(n) || 0)) } else { console.error("No address found for root paper") // console.log(data) |
