diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2019-03-22 00:23:29 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2019-03-22 00:23:29 +0100 |
| commit | 35f19bdca7ac68829fd781827d25deb4bfc734d2 (patch) | |
| tree | b36b5a4629a48b6797183f8f83277f130f39b218 /client/map | |
| parent | 94e0a98f1279f27e7cb123ab572bfae9c15746c1 (diff) | |
rebuild and update js linkx
Diffstat (limited to 'client/map')
| -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) |
