diff options
| author | adamhrv <adam@ahprojects.com> | 2019-03-31 17:46:17 +0200 |
|---|---|---|
| committer | adamhrv <adam@ahprojects.com> | 2019-03-31 17:46:17 +0200 |
| commit | fd5d46b71af450fb582506dc8dd9c8d343d3a5c5 (patch) | |
| tree | f35d955ff5688fdab83c4fa19c4fe18dbf7fe9cb /client/map | |
| parent | 2e73ee5f56d02ee1dc3dbf384d71081c714a0491 (diff) | |
| parent | 438cde0ab82cf9fdbdcbb45e0ad8e43efc3525bb (diff) | |
Merge branch 'master' of github.com:adamhrv/megapixels_dev
Diffstat (limited to 'client/map')
| -rw-r--r-- | client/map/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/map/index.js b/client/map/index.js index 9ca43867..475ba3c6 100644 --- a/client/map/index.js +++ b/client/map/index.js @@ -104,10 +104,10 @@ export default function append(el, payload) { let citationsByAddress = {} citations.forEach(citation => { if (!citation.addresses) { - console.log(citation) + // console.log(citation) return } - console.log(citation) + // console.log(citation) citation.addresses.forEach(address => { if (!(address.name in citationsByAddress)) { citationsByAddress[address.name] = { address, citations: []} @@ -118,7 +118,7 @@ export default function append(el, payload) { Object.keys(citationsByAddress).map(name => { const { citations: citationList, address: citationAddress } = citationsByAddress[name] - console.log(name, citationsByAddress[name]) + // console.log(name, citationsByAddress[name]) // console.log(citation) const latlng = [citationAddress.lat, citationAddress.lng].map(n => parseFloat(n)) if (Number.isNaN(latlng[0]) || Number.isNaN(latlng[1])) return @@ -135,7 +135,7 @@ export default function append(el, payload) { addArc(map, source, latlng, style) }) - console.log(paper) + // console.log(paper) const rootMarker = addMarker(map, source, [paper]) rootMarker.openPopup() |
