The wijmaps vector layer provides the ability to connect various geographical coordinates using placemark, polyline and polygon.
For example, use the script and markup below to connect three countries, India, China and Mynamar, with a polyline and polygon. Select the Polyline or Polygon option from the dropdown at the bottom of the live widget to see the effect.