Map Arcs

Create arcs between geographic coordinates using this feature.

Try it Yourself
Origin Destination
Latitude Longitude Latitude Longitude

map.arc([{

origin: {

latitude: 61,

longitude: -149

},

destination: {

latitude: -22,

longitude: -43

},

strokeColor: 'blue'

}, {

origin: 'MEX',

destination: 'ARG'

},

{

origin: 'CAF',

destination: 'IND'

},

{

origin: 'BRA',

destination: 'USA',

strokeColor: 'green'

}], {

animationSpeed: 2000,

popupOnHover: true

});