Javascript mapbox get array of coordinates
Budget: €10 – €20 EUR
Hi I have an array of objects with 244 country name and country code name, I need to get that array with the mapbox geocoder center latitute and longitude. The result format should look like this
[
{"name": "Zambia", "code": "ZM", "center": [29.9386693711454,-19.1894587635565]},
{"name": "Zimbabwe", "code": "ZW", "center":[27.4306751716734,-14.0049082837326]}
]
attached on files source array
[
{"name": "Zambia", "code": "ZM", "center": [29.9386693711454,-19.1894587635565]},
{"name": "Zimbabwe", "code": "ZW", "center":[27.4306751716734,-14.0049082837326]}
]
attached on files source array