diff --git a/ProjetProgWeb/charts.js b/ProjetProgWeb/charts.js index 22bc249..32e9dda 100644 --- a/ProjetProgWeb/charts.js +++ b/ProjetProgWeb/charts.js @@ -214,7 +214,7 @@ function initMap(results) { result.push(obj) } i += 1 - if (i === 10) { + if (i === results.data.length) { initMapVisuals(result) } })