diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-12-16 17:47:52 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-12-16 17:47:52 +0100 |
| commit | 17dea19bfff556d990f664a608881a135f33071a (patch) | |
| tree | d385d84c70654b13aa43bdce0c6963ba3c48f3f3 /client/map/index.js | |
| parent | 948174f04d9dea93271bec62283b1c09e687e157 (diff) | |
map and citations workin
Diffstat (limited to 'client/map/index.js')
| -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 e877cb62..15153a90 100644 --- a/client/map/index.js +++ b/client/map/index.js @@ -73,7 +73,7 @@ export default function append(el, payload) { citations.forEach(point => { const latlng = [point.lat, point.lng] if (Number.isNaN(latlng[0]) || Number.isNaN(latlng[1])) return - addMarker(map, latlng, point[0], point[1]) + addMarker(map, latlng, point.title, point.location) addArc(map, source, latlng) }) |
