Example of OSM with Navigation Lines in Javascript Maps Control

OSM with Navigation Lines

This sample illustrates the flight route from Los Angeles to Mexico City using navigation lines in the OpenStreetMap.

More Details...


In this example, you can see how to render the navigation lines in the OpenStreetMap. The source and destination locations have been denoted using the marker template. Injecting Module The maps component features are segregated into individual modules by feature. To use a marker, inject the Marker module using the Maps.Inject(Marker) method. More information on navigation line can be found in this documentation section.