Map with curved lines
Maps with curved lines (also known as Connection map, Link map, Ray map) can be used to display connections and relationships geographically, visualize routes and more.
Line, arc, or spline
Map chart supports three distinctive types of lines.
Straight vs. curved
By default, the line shows the shortest distance, which means curved lines as it follows the curvature of the Earth surface.
Setting shortestDistance
to false
will make the lines perfectly straight.
More about shortest distance setting
Setting initial zoom
Any zoom level and position can be set using map’s homeZoomLevel
and homeGeoPoint
properties.
More about setting initial zoom