Example of Flight routes in Javascript Maps Control

Flight routes

This sample demonstrates the flight routes from India to China.

More Details...


In this example, you can see how to render the curved lines between two points in a map. You can use the dashArray, width, and color properties to customize the appearance of the navigation lines. Injecting Module Maps component features are segregated into individual feature-wise modules. To use the navigation lines, inject the NavigationLine module using the Maps.Inject(NavigationLine) method. More information on navigation lines can be found in this documentation section.