Example of Flight routes in ASP.NET MVC Maps Control
This sample demonstrates the flight routes from India to China.
DEMO
SOURCE
Source:
www.tibettravel.org
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.