Example of Navigation Lines in Javascript Maps Control

Navigation Lines

This sample illustrates the sea routes between various cities for shipping.

More Details...


In this example, you can see how to render lines between two points in map. You can use 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 navigation lines, you need to inject NavigationLine module using Maps.Inject(NavigationLine) method. More information on navigation line can be found in this documentation section.